Property SelectedMap
| Edit this page View SourceSelectedMap
Gets the currently selected map. This will be set to the map associated with a map area item when a map area is selected from the list in the view. This can be used to display the selected map in a MapView or to take other actions based on the selected map.
Declaration
public Map? SelectedMap { get; }
Property Value
| Type | Description |
|---|---|
| Map |
Remarks
By default the OnlineMap will be the selected map, and the MapView's Map property can be bound to this property. The property will then update when an offline map area is selected. To go back to the online map, you can create a button that binds its Command property to the GoOnlineCommand which will set the selected map back to the online map.