mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update WmtsCapabilities.cs
This commit is contained in:
parent
37b3809b8f
commit
e2361ac322
|
|
@ -89,12 +89,7 @@ namespace MapControl
|
|||
.Elements(wmts + "Style")
|
||||
.FirstOrDefault();
|
||||
|
||||
var style = styleElement?.Element(ows + "Identifier")?.Value;
|
||||
|
||||
if (string.IsNullOrEmpty(style))
|
||||
{
|
||||
style = "default";
|
||||
}
|
||||
var style = styleElement?.Element(ows + "Identifier")?.Value ?? "";
|
||||
|
||||
var urlTemplate = ReadUrlTemplate(capabilitiesElement, layerElement, layer, style, capabilitiesUrl);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue