Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed bug which won't display annotation to ignore

  • Loading branch information...
commit b059ba0cd4adf597e7ae4c9b6cef2f68887907c5 1 parent 8946098
Botond Kis authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 OCMapView/OCMapView.m
4 OCMapView/OCMapView.m
@@ -164,12 +164,14 @@ - (void)doClustering{
// add clustered and ignored annotations to map
[super addAnnotations: clusteredAnnotations];
- [super addAnnotations: [annotationsToIgnore allObjects]];
// fix for flickering
[annotationsToRemove removeObjectsInArray: clusteredAnnotations];
[super removeAnnotations:annotationsToRemove];
+ // add ignored annotations
+ [super addAnnotations: [annotationsToIgnore allObjects]];
// memory
[clusteredAnnotations release];
[annotationsToCluster release];
Please sign in to comment.
Something went wrong with that request. Please try again.