Version 4.17.0: Added support for WMTS

This commit is contained in:
ClemensF 2020-03-20 21:29:43 +01:00
parent f1ea075047
commit f3d0dd0f74
2 changed files with 26 additions and 3 deletions

View file

@ -114,17 +114,27 @@ namespace ViewModel
}
},
{
"SevenCs ChartServer",
new ChartServerLayer()
"TopPlusOpen WMS",
new WmsImageLayer
{
Description = "© [BKG](https://gdz.bkg.bund.de/index.php/default/webdienste/topplus-produkte/wms-topplusopen-mit-layer-fur-normalausgabe-und-druck-wms-topplus-open.html)",
ServiceUri = new Uri("https://sgx.geodatenzentrum.de/wms_topplus_open"),
Layers = "web"
}
},
{
"TopPlusOpen WMTS",
new WmtsTileLayer
{
Description = "© [BKG](https://gdz.bkg.bund.de/index.php/default/webdienste/topplus-produkte/wmts-topplusopen-wmts-topplus-open.html)",
CapabilitiesUri = new Uri("https://sgx.geodatenzentrum.de/wmts_topplus_open/1.0.0/WMTSCapabilities.xml"),
SourceName = "TopPlusOpen"
}
},
{
"SevenCs ChartServer",
new ChartServerLayer()
},
};
private string currentMapLayerName = "OpenStreetMap";
@ -158,6 +168,7 @@ namespace ViewModel
"Stamen Toner Light",
"OpenStreetMap WMS",
"OpenStreetMap TOPO WMS",
"TopPlusOpen WMS",
"TopPlusOpen WMTS",
"SevenCs ChartServer",
};