Skip to content

Commit bc24312

Browse files
committed
do not animate the annotation for static layer popups
1 parent bde5481 commit bc24312

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Mage/MapDelegate.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ - (void)mapView:(MKMapView *)mapView didAddAnnotationViews:(NSArray *)views {
110110
// Don't pin drop if annotation is user location
111111
if ([aV.annotation isKindOfClass:[MKUserLocation class]]) {
112112
continue;
113+
} else if ([aV.annotation isKindOfClass:[AreaAnnotation class]]) {
114+
continue;
113115
}
114116

115117
// Check if current annotation is inside visible map rect, else go to next one

0 commit comments

Comments
 (0)