|
@@ -36,6 +36,7 @@ |
|
@@ -36,6 +36,7 @@ |
36
|
#import "RMShape.h"
|
36
|
#import "RMShape.h"
|
37
|
#import "RMAnnotation.h"
|
37
|
#import "RMAnnotation.h"
|
38
|
#import "RMQuadTree.h"
|
38
|
#import "RMQuadTree.h"
|
|
|
39
|
+#import "RMPointAnnotation.h"
|
39
|
|
40
|
|
40
|
#import "RMFractalTileProjection.h"
|
41
|
#import "RMFractalTileProjection.h"
|
41
|
|
42
|
|
|
@@ -2669,6 +2670,18 @@ |
|
@@ -2669,6 +2670,18 @@ |
2669
|
}
|
2670
|
}
|
2670
|
}
|
2671
|
}
|
2671
|
|
2672
|
|
|
|
2673
|
+ for (RMAnnotation *annotation in self.annotations)
|
|
|
2674
|
+ {
|
|
|
2675
|
+ if ([annotation isKindOfClass:[RMPointAnnotation class]] && annotation.isAnnotationVisibleOnScreen)
|
|
|
2676
|
+ {
|
|
|
2677
|
+ [annotation.layer removeFromSuperlayer];
|
|
|
2678
|
+ annotation.layer = nil;
|
|
|
2679
|
+ [_overlayView addSublayer:annotation.layer];
|
|
|
2680
|
+ }
|
|
|
2681
|
+ }
|
|
|
2682
|
+
|
|
|
2683
|
+ [self correctPositionOfAllAnnotations];
|
|
|
2684
|
+
|
2672
|
if (_currentCallout)
|
2685
|
if (_currentCallout)
|
2673
|
_currentCallout.tintColor = self.tintColor;
|
2686
|
_currentCallout.tintColor = self.tintColor;
|
2674
|
}
|
2687
|
}
|