mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-09 18:21:47 +01:00
Update WmtsCapabilities.cs
This commit is contained in:
parent
7c8393d785
commit
bf447a00af
|
|
@ -224,12 +224,7 @@ namespace MapControl
|
|||
|
||||
if (supportedCrs.StartsWith(urnPrefix)) // e.g. "urn:ogc:def:crs:EPSG:6.18:3857")
|
||||
{
|
||||
var crs = supportedCrs.Substring(urnPrefix.Length).Split(':');
|
||||
|
||||
if (crs.Length > 1)
|
||||
{
|
||||
supportedCrs = "EPSG:" + crs[1];
|
||||
}
|
||||
supportedCrs = "EPSG:" + supportedCrs.Substring(urnPrefix.Length).Split(':').Last();
|
||||
}
|
||||
|
||||
var tileMatrixes = new List<WmtsTileMatrix>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue