A Boolean value that determines whether the user may use pinch gestures to zoom in and out of the map.
SDKs
- iOS 3.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
Framework
- Map
Kit
Declaration
var isZoomEnabled: Bool { get set }
Discussion
This property controls only user interactions with the map. If you set the value of this property to false
, you may still change the zoom level programmatically by changing the value in the region
property.
The default value of this property is true
.