Instance Property

mapType

The type of data displayed by the map view.

Declaration

var mapType: MKMapType { get set }

Discussion

Changing the value in this property may cause the receiver to begin loading new map content. For example, changing from standard to satellite might cause it to begin loading the satellite imagery needed for the map. If new data is needed, however, it is loaded asynchronously and appropriate messages are sent to the receiver’s delegate indicating the status of the operation.

See Also

Accessing Map Properties

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.

var isRotateEnabled: Bool

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