There are from Google: latitude, longitude and zoom ( int | float ), you need to make a MapKit map. I set the coordinates and it seems to work, but with zoom problems, since MapKit works with

 MKCoordinateSpan(latitudeDelta: CLLocationDegrees, longitudeDelta: CLLocationDegrees) 

where CLLocationDegrees - Double . How to convert zoom ( float | int ) to MKCoordinateSpan ?

  • the zoom that you have to convey in both values ​​- and lat and lon - Max Mikheyenko
  • Unfortunately, it’s not so easy, Google’s zoom is from 1 to 20, and mapkit is 0 to 100, and it’s not clear how the calculation takes place, still the numbers in the Double are strange, while the calculations are close troybrant.net/blog/2010/01/set -the-zoom-level-of-an-mkmapview but when you twist the phone everything breaks. Plus a decent error - Arik

0