MapView.SetShowsBuildings
-------------------------

Shows or hides buildings.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MapView](component_MapView.md) | [9.0](newinversion90.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "MapView.SetShowsBuildings"; MapView; Value ) 

**MBS**( **"MapView.SetShowsBuildings";** /\* Shows or hides buildings. \*/  
**$MapView**; /\* The map view reference number.e.g. $$MapView \*/   
**$Value**) /\* The new setting.  
Pass 1 to enable or 0 to disable.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MapView | The map view reference number. | $$MapView |
| Value | The new setting.   Pass 1 to enable or 0 to disable. | 1 |

### Result

Returns OK or error.

### Description

Shows or hides buildings.  
A Boolean indicating whether the map displays extruded building information.  
  
When this property is set to 1 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 Standard for extruded buildings to be displayed. The default value of this property is 1.  
### See also

- [MapView.GetShowsBuildings](MapViewGetShowsBuildings.md)

### Example Databases

- [iOS/Examples/MapKit iOS](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/iOS/Examples/MapKit%20iOS.shtml#6ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Advent calendar - Door 11 - Know Your Way](https://www.mbsplugins.de/archive/2024-12-11/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 20 - MapView](https://www.mbsplugins.de/archive/2023-12-20/MBS_Plugin_Advent_calendar_20_/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2022, Seite 27](https://filemaker-magazin.de/neuigkeit/4172-Appetithappen-FMM_202201)

Created 14th January 2019 , last changed 15th January 2019

  
[MapView.SetScrollEnabled](MapViewSetScrollEnabled.md) - [MapView.SetShowsCompass](MapViewSetShowsCompass.md)

[HTML Version](MapViewSetShowsBuildings.shtml)