private void ClearMapClicked(object sender, RoutedEventArgs e) { // Create a new map (will not have an associated PortalItem) MyMapView.Map = new Map(Basemap.CreateLightGrayCanvas()); } #endregion