Show / Hide Table of Contents

Property SelectedMap

| Edit this page View Source

SelectedMap

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.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX