问题
I have an image overlay on a mkmapview.
I can't seem to zoom in the image once i reach the max zoom in values of the map. I still have a lot of zooming in to the image to do.
Any ideas? Like how can i change the max zoom in value of the map?
回答1:
- you can set the zoom level from latitudeDelta and latitudeDelta.
MKCoordinateRegion region;
region.center.latitude = appDelegate.latitudeString.floatValue;
region.center.longitude = appDelegate.longitudeString.floatValue;
region.span.latitudeDelta = 0.10;
region.span.longitudeDelta = 0.10;
[self.mapLocation setRegion:region animated:YES];
来源:https://stackoverflow.com/questions/21236576/increase-maximum-zoom-level-on-mkmapview