Instance Property

zoomEnabled

A Boolean value that determines whether the user may use pinch gestures to zoom in and out of the map.

Declaration

@property(nonatomic, getter=isZoomEnabled) BOOL zoomEnabled;

Discussion

This property controls only user interactions with the map. If you set the value of this property to NO, you may still change the zoom level programmatically by changing the value in the region property.

The default value of this property is YES.

See Also

Accessing Map Properties

mapType

The type of data displayed by the map view.

scrollEnabled

A Boolean value that determines whether the user may scroll around the map.

pitchEnabled

A Boolean value indicating whether the map camera’s pitch information is used.

rotateEnabled

A Boolean value indicating whether the map camera’s heading information is used.