Beispiel #1
0
 private static ILayer CreatePointLayerWithWorldUnitSymbol()
 {
     return(new Layer("PointLayer WorldUnits")
     {
         DataSource = PointLayerWithWorldUnitsForSymbolsSample.Create()
     });
 }
Beispiel #2
0
 private void PointSymbolsClick(object sender, RoutedEventArgs e)
 {
     mapControl.Map.Layers.Clear();
     mapControl.Map.Layers.Add(new TileLayer(new OsmTileSource())
     {
         LayerName = "OSM"
     });
     mapControl.Map.Layers.Add(PointLayerSample.Create());
     mapControl.Map.Layers.Add(PointLayerWithWorldUnitsForSymbolsSample.Create());
     layerList.Initialize(mapControl.Map.Layers);
     mapControl.Refresh();
 }