Instance Property

showsBuildings

A Boolean indicating whether the map displays extruded building information.

Declaration

var showsBuildings: Bool { get set }

Discussion

When this property is set to true and the camera has a pitch angle greater than zero, the map extrudes buildings so that they extend above the map plane, creating a 3D effect. The mapType property must be set to MKMapType.standard for extruded buildings to be displayed. The default value of this property is true.

See Also

Configuring the Map’s Appearance

func setCamera(MKMapCamera, animated: Bool)

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

var camera: MKMapCamera

The camera used for determining the appearance of the map.

var pointOfInterestFilter: MKPointOfInterestFilter?

The filter used to determine the points of interest shown on the map.

Beta
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.

var showsPointsOfInterest: Bool

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

Deprecated