I'm having trouble with the maximum zoom level on the MapView using IOS6. The user can zoom in too much and the tiles are blank.
A quick fix was to do this:
- (void)mapView:(MKMapView *)theMapView regionDidChangeAnimated:(BOOL)animated {
if([theMapView zoomLevel] > 18) {
[theMapView setCenterCoordinate:[theMapView centerCoordinate] zoomLevel:18 animated:TRUE];
}
}
and zoom out again automatically, but sometimes it still zooms too far in and does not zoom out again.
I think I need to get the maximum zoom level of the current region that i'm in but there doesn't seem to be a easy way of doing that. How did you guys get past this issue?