refs #421: fix lag for non-shapes
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1606,7 +1606,7 @@ | @@ -1606,7 +1606,7 @@ | ||
1606 | { | 1606 | { |
1607 | [self correctPositionOfAllAnnotationsIncludingInvisibles:NO animated:(_mapScrollViewIsZooming && !_mapScrollView.zooming)]; | 1607 | [self correctPositionOfAllAnnotationsIncludingInvisibles:NO animated:(_mapScrollViewIsZooming && !_mapScrollView.zooming)]; |
1608 | 1608 | ||
1609 | - if (_currentAnnotation && ! [_currentAnnotation isKindOfClass:[RMMarker class]]) | 1609 | + if (_currentAnnotation && ! [_currentAnnotation.layer isKindOfClass:[RMMarker class]]) |
1610 | { | 1610 | { |
1611 | // adjust shape annotation callouts for frame changes during zoom | 1611 | // adjust shape annotation callouts for frame changes during zoom |
1612 | // | 1612 | // |
-
Please register or login to post a comment