---
title: showsBuildings
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmapview/showsbuildings
---

# showsBuildings

A Boolean value that indicates whether the map displays extruded building information on supported map types.

## Declaration

```swift
var showsBuildings: Bool { get set }
```

## Discussion

Discussion note: In iOS 16 and macOS 13, and later, when overlay content is present, this property has no effect and the map renders buildings and trees as transparent. This enables content to be clearly visible while preserving the context of the surroundings. When this property is 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 default value of this property is true. To display extruded buildings, set the mapType property to MKMapType.standard or MKMapType.mutedStandard.

## See Also

### Configuring the map display

- [setCamera(_:animated:)](mapkit/mkmapview/setcamera(_:animated:).md)
- [camera](mapkit/mkmapview/camera.md)
- [showsCompass](mapkit/mkmapview/showscompass.md)
- [showsPitchControl](mapkit/mkmapview/showspitchcontrol.md)
- [showsScale](mapkit/mkmapview/showsscale.md)
- [showsZoomControls](mapkit/mkmapview/showszoomcontrols.md)
- [showsPointsOfInterest](mapkit/mkmapview/showspointsofinterest.md)
- [pointOfInterestFilter](mapkit/mkmapview/pointofinterestfilter.md)
- [showsTraffic](mapkit/mkmapview/showstraffic.md)
