mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 06:26:41 +00:00
Version 4.17.0: Added support for WMTS
This commit is contained in:
parent
e06e910126
commit
aff7323287
2 changed files with 19 additions and 8 deletions
|
|
@ -203,7 +203,9 @@ namespace MapControl
|
|||
{
|
||||
TileMatrixSets.Clear();
|
||||
|
||||
var ns = capabilitiesElement.Name.Namespace;
|
||||
XNamespace ns = capabilitiesElement.Name.Namespace;
|
||||
XNamespace ows = "http://www.opengis.net/ows/1.1";
|
||||
|
||||
var contentsElement = capabilitiesElement.Element(ns + "Contents");
|
||||
|
||||
if (contentsElement == null)
|
||||
|
|
@ -211,7 +213,6 @@ namespace MapControl
|
|||
throw new ArgumentException("Contents element not found.");
|
||||
}
|
||||
|
||||
XNamespace ows = "http://www.opengis.net/ows/1.1";
|
||||
XElement layerElement;
|
||||
|
||||
if (!string.IsNullOrEmpty(LayerIdentifier))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue