Add option to limit a map view's zoom level

Originator:koeltzsch
Number:rdar://25951556 Date Originated:2016-04-03
Status:open Resolved:
Product:iOS SDK Product Version:9.3.1
Classification:Feature Request Reproducible:always
 
A lot of custom frameworks for maps like MapBox' or Google Maps SDK offer the ability of setting a custom limit for a map's zoom level which the user can't zoom past. 
Implementing the same functionality with MapKit currently requires listening for updates in the regionDidChangeAnimated delegate method and manually setting the region or camera.altitude at that point. Unfortunately this results in changing the zoom level only after the user has zoomed past it, resulting in weird jumping behavior.

There are valid use cases for having a custom hard zoom limit. It would be fantastic if MapKit could support this.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!