mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 23:45:05 +00:00
Updated ProjectionDemo
This commit is contained in:
parent
8745bb9660
commit
fdfa8348eb
2 changed files with 21 additions and 20 deletions
|
|
@ -39,12 +39,20 @@ namespace ProjectionDemo
|
|||
WmsLayers = "web"
|
||||
});
|
||||
|
||||
viewModel.Layers.Add(
|
||||
"Basemap.de WMS",
|
||||
new WmsImageLayer
|
||||
{
|
||||
ServiceUri = new Uri("https://sgx.geodatenzentrum.de/wms_basemapde"),
|
||||
WmsLayers = "de_basemapde_web_raster_farbe"
|
||||
});
|
||||
|
||||
viewModel.Layers.Add(
|
||||
"Orthophotos Wiesbaden",
|
||||
new WmsImageLayer
|
||||
{
|
||||
ServiceUri = new Uri("https://geoportal.wiesbaden.de/cgi-bin/mapserv.fcgi?map=d:/openwimap/umn/map/orthophoto/orthophotos.map"),
|
||||
WmsLayers = "orthophoto2017"
|
||||
WmsLayers = "orthophoto2023"
|
||||
});
|
||||
|
||||
viewModel.CurrentProjection = viewModel.Projections[0];
|
||||
|
|
@ -70,9 +78,9 @@ namespace ProjectionDemo
|
|||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
public List<MapProjection> Projections { get; } = new List<MapProjection>();
|
||||
public List<MapProjection> Projections { get; } = [];
|
||||
|
||||
public Dictionary<string, IMapLayer> Layers { get; } = new Dictionary<string, IMapLayer>();
|
||||
public Dictionary<string, IMapLayer> Layers { get; } = [];
|
||||
|
||||
public MapProjection CurrentProjection
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue