Instance Property

showsZoomControls

A Boolean indicating whether the map displays zoom controls.

Declaration

var showsZoomControls: Bool { get set }

Discussion

In macOS, use this property to show or hide the controls that let users change the zoom level of the map.

See Also

Configuring the Map’s Appearance

var camera: MKMapCamera

The camera used for determining the appearance of the map.

func setCamera(MKMapCamera, animated: Bool)

Changes the camera used for determining the map’s viewing parameters and optionally animates the change.

var showsPointsOfInterest: Bool

A Boolean indicating whether the map displays point-of-interest information.

var showsBuildings: Bool

A Boolean indicating whether the map displays extruded building information.

var showsCompass: Bool

A Boolean indicating whether the map displays a compass control.

var showsScale: Bool

A Boolean indicating whether the map shows scale information.

var showsTraffic: Bool

A Boolean value indicating whether the map displays traffic information.