Zoom scale on iOS 6.0 cards?

I broke through the documentation for iOS 6.0 Map, but I can not find a way to determine the maximum scaling in MKMapView.

Has anyone found a way to do this? I had a method that worked on 5.1.1 cards, but it listens for zoomScale , which a modern card does not have (which leads to a crash of the application in the new iOS)

Any help would be greatly appreciated.

+4
source share
2 answers

An error has been detected on the side of the card provider. Google Maps zooming was introduced without notice from the map service provider.

0
source

You set the zoom level by specifying the area associated with the map. See MKCoordinateRegion and possibly MKCoordinateRegionMakeWithDistance. I found that MapKit did not answer these calls correctly in Xcode 4.5. It seems that there may be an undocumented maximum zoom level that prevents me from getting the right scaling using a specific API.

0
source

Source: https://habr.com/ru/post/1436093/


All Articles