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); } } }
private void ClearMapBtn_Clicked(object sender, Windows.UI.Xaml.RoutedEventArgs e) { MyMap.ClearMap(); }
private void ClearMapBtn_Clicked(object sender, RoutedEventArgs e) { MyMap.ClearMap(); }