...
|
...
|
@@ -1472,6 +1472,22 @@ |
|
|
else
|
|
|
{
|
|
|
[self correctPositionOfAllAnnotationsIncludingInvisibles:NO animated:(_mapScrollViewIsZooming && !_mapScrollView.zooming)];
|
|
|
|
|
|
if (_currentAnnotation && ! [_currentAnnotation isKindOfClass:[RMMarker class]])
|
|
|
{
|
|
|
// adjust shape annotation callouts for frame changes during zoom
|
|
|
//
|
|
|
_currentCallout.delegate = nil;
|
|
|
|
|
|
[_currentCallout presentCalloutFromRect:_currentAnnotation.layer.bounds
|
|
|
inLayer:_currentAnnotation.layer
|
|
|
constrainedToLayer:self.layer
|
|
|
permittedArrowDirections:SMCalloutArrowDirectionDown
|
|
|
animated:NO];
|
|
|
|
|
|
_currentCallout.delegate = self;
|
|
|
}
|
|
|
|
|
|
_lastZoom = _zoom;
|
|
|
}
|
|
|
|
...
|
...
|
|