Instance Property

isRotateEnabled

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

Declaration

var isRotateEnabled: Bool { get set }

Discussion

When this property is set to true and a valid camera is associated with the map, the camera’s heading angle is used to rotate the plane of the map around its center point. When this property is set to false, the camera’s heading angle is ignored and the map is always oriented so that true north is situated at the top of the map view.

See Also

Accessing Map Properties

var mapType: MKMapType

The type of data displayed by the map view.

var isZoomEnabled: Bool

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

var isScrollEnabled: Bool

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

var isPitchEnabled: Bool

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