-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Maps.MapControl.Style |
winrt property |
Specifies the style of the map - for example, a road map or an aerial map.
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->
<Maps:MapControl Style="style" />
- or -
<Maps:MapControl>
<Maps:MapControl.Style>style</Maps:MapControl.Style>
</Maps:MapControl>
- style
- styleA value from the MapStyle enumeration that specifies the style of the map - for example, a road map or an aerial map.
Important
Aerial styles are not available when the network is disconnected from the internet.