mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Version 4.17.0: Added support for WMTS
This commit is contained in:
parent
e650c9081f
commit
e821e39841
38 changed files with 991 additions and 307 deletions
|
|
@ -74,8 +74,13 @@ namespace MapControl
|
|||
|
||||
try
|
||||
{
|
||||
var stream = await ImageLoader.HttpClient.GetStreamAsync(uri);
|
||||
var capabilities = XDocument.Load(stream).Root;
|
||||
XElement capabilities;
|
||||
|
||||
using (var stream = await ImageLoader.HttpClient.GetStreamAsync(uri))
|
||||
{
|
||||
capabilities = XDocument.Load(stream).Root;
|
||||
}
|
||||
|
||||
var ns = capabilities.Name.Namespace;
|
||||
|
||||
layerNames = capabilities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue