Created
November 28, 2012 05:01
-
-
Save benjaminpearson/4159123 to your computer and use it in GitHub Desktop.
Inlight Media - Blog - Using the iOS MapKit framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double zoomLevel = [mapView getZoomLevel]; // getZoomLevel is implemented in the category | |
if(zoomLevel > 16) { | |
[mapView setCenterCoordinate:[mapView centerCoordinate] zoomLevel:16 animated:YES]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment