Пример #1
0
 async Task LoadMap(SpatialDataSet data)
 {
     if (data != null)
     {
         if (!string.IsNullOrEmpty(data.Error))
         {
             await new MessageDialog(data.Error).ShowAsync();
         }
         else
         {
             MyMap.ClearMap();
             MyMap.LoadSpatialData(data, GeometryTapped);
             CenterView(data);
         }
     }
 }
Пример #2
0
 private void ClearMapBtn_Clicked(object sender, Windows.UI.Xaml.RoutedEventArgs e)
 {
     MyMap.ClearMap();
 }
Пример #3
0
 private void ClearMapBtn_Clicked(object sender, RoutedEventArgs e)
 {
     MyMap.ClearMap();
 }