MapView.GetShowsTraffic
-----------------------

Queries traffic visible state.

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

MBS( "MapView.GetShowsTraffic"; MapView ) 

**MBS**( **"MapView.GetShowsTraffic";** /\* Queries traffic visible state. \*/  
**$MapView**) /\* The map view reference number.e.g. $$MapView \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MapView | The map view reference number. | $$MapView |

### Result

Returns 0, 1 or error.

### Description

Queries traffic visible state.  
A Boolean value indicating whether the map displays traffic information.  
### See also

- [MapView.GetShowsScale](MapViewGetShowsScale.md)
- [MapView.SetShowsTraffic](MapViewSetShowsTraffic.md)

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

  
[MapView.GetShowsScale](MapViewGetShowsScale.md) - [MapView.GetShowsUserLocation](MapViewGetShowsUserLocation.md)

[HTML Version](MapViewGetShowsTraffic.shtml)