示例#1
0
        void checkBox_Click(object sender, RoutedEventArgs e)
        {
            if (!(sender is FrameworkElement))
            {
                return;
            }
            var layer = ((sender as FrameworkElement).Tag as ILayer);

            layer.Enabled = !layer.Enabled;
            _mapControl.Clear();
            _mapControl.OnViewChanged();
        }
示例#2
0
 public void Clear()
 {
     _map.Clear();
 }