I can't seem to find the best answer to my question SO.
I have this code that is "OK" but not idea
func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
print(mapView.camera.altitude)
if mapView.camera.altitude < 800.00 && !modifyingMap
{
modifyingMap = true
mapView.camera.altitude = 800.00
modifyingMap = false
}
}
I would like to limit a user's max and min zoom to my map in my app.
any links to the SO answer are greatly appreciated!
Thanks!