MKMapView.ZoomEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls if the user can zoom in and out of the map using a pinch gesture.
public virtual bool ZoomEnabled { [Foundation.Export("isZoomEnabled")] get; [Foundation.Export("setZoomEnabled:")] set; }
member this.ZoomEnabled : bool with get, set
Property Value
Default is true
.
- Attributes
Remarks
The default value of true
allows zooming. This property only controls if the user can interactively zoom. It has no affect on zooming the map in code, which can be done by changing either the Region or VisibleMapRect properties.