コード例 #1
0
 /// <summary>
 /// Reset to original settings
 /// </summary>
 private void Reset_ButtonClick(object sender, RoutedEventArgs e)
 {
     ClearLayers();
     ((CheckBox)LayerTables.FindName("checkboxCountries")).IsChecked = true;
     //initiate a map ViewChange event
     MainMap.SetView(new Location(0, 0), 2);
 }
コード例 #2
0
 /// <summary>
 /// Reset to original settings
 /// </summary>
 private void Reset_ButtonClick(object sender, RoutedEventArgs e)
 {
     ClearLayers();
     ClearQueryFilters();
     layerDraw.Children.Clear();
     ((CheckBox)LayerTables.FindName("checkboxCountries")).IsChecked = true;
     MainMap.SetView(new Location(0, 0), 2);
 }