public AuthorEditSaveMap()
{
InitializeComponent();
// Get the view model (defined as a resource in the XAML)
_mapViewModel = this.FindResource("MapViewModel") as MapViewModel;
// Define a selection handler on the basemap list
BasemapListBox.SelectionChanged += OnBasemapsClicked;
// Define a handler for the Save Map click
SaveMapButton.Click += OnSaveMapClick;
// Define a handler for the New Map click
NewMapButton.Click += OnNewMapClicked;
UpdateAuthenticationManager();
}