Export (0) Print
Expand All

MapType enumeration

Bing

Defines the type or style of the map.

Constants

Name Description

Aerial

The map displays aerial imagery.

Birdseye

The map displays an angled view of aerial imagery.

Empty

The map does not display any imagery. Use this option if you want to display custom imagery instead of Bing Maps imagery.

Road

The map displays road imagery.

Code Examples

Set the map type to Aerial using XAML.

<bm:Map credentials="INSERT_YOUR_BING_MAPS_KEY" x:Name="myMap" MapType="Aerial">
</bm:Map>

Set the map type using code-behind.

// Set the map to display bird’s eye (oblique-angle) imagery
map.MapType = MapType.Birdseye;
// Set the map to display aerial imagery
map.MapType = MapType.Aerial;
// Set the map to display road imagery
map.MapType = MapType.Road;
// Set the map to not display Bing Maps imagery
map.MapType = MapType.Empty;
Show:
© 2015 Microsoft