Szerkesztés

Megosztás a következőn keresztül:


MKMapView.ZoomEnabled Property

Definition

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.

Applies to