Instance Property

showsPointsOfInterest

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

Declaration

var showsPointsOfInterest: Bool { get set }

Discussion

When this property is set to true, the map displays icons and labels for restaurants, schools, and other relevant points of interest. The mapType property must be set to standard or hybrid for points of interest to be displayed.The default value of this property is true.

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 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 showsZoomControls: Bool

A Boolean indicating whether the map displays zoom controls.

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.