A Boolean indicating whether the map displays extruded building information.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Map
Kit
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 map
property must be set to MKMap
for extruded buildings to be displayed. The default value of this property is true
.