skip to Main Content

iOS: Max zoom out for MapKit – Ios swift

How can I calculate the max zoom out in MapKit to show the entire globe? Example: let region: MKCoordinateRegion = MKCoordinateRegion(center: CLLocationCoordinate2D(latitude: -37.8136, longitude: 144.9631), span: MKCoordinateSpan(latitudeDelta: 170, longitudeDelta: 170)) If instead of 170 I put 200 the App crash…

VIEW QUESTION

Xcode – Reverse a for loop of an array

I'm try to create a func that should calculate the coordinate at 90deg and 270deg from each of the given coordinate.. and save it in an array of arrayLocationOffset var arrayLocations : [CLLocationCoordinate2D] = [ CLLocationCoordinate2D(latitude: 45.15055543976834, longitude: 11.656891939801518 ),…

VIEW QUESTION
Back To Top
Search