...
|
...
|
@@ -79,8 +79,8 @@ |
|
|
BOOL contained = CGRectContainsRect(loadedBounds, [content screenBounds]);
|
|
|
|
|
|
int targetZoom = (int)([[content mercatorToTileProjection] calculateNormalisedZoomFromScale:[content metersPerPixel]]);
|
|
|
NSAssert3(((targetZoom <= content.maxZoom) && (targetZoom >= content.minZoom)),
|
|
|
@"target zoom %d is outside of RMMapContents limits %f to %f",
|
|
|
if((targetZoom > content.maxZoom) || (targetZoom < content.minZoom))
|
|
|
RMLog(@"target zoom %d is outside of RMMapContents limits %f to %f",
|
|
|
targetZoom, content.minZoom, content.maxZoom);
|
|
|
if (contained == NO)
|
|
|
{
|
...
|
...
|
|