mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
20 lines
504 B
C#
20 lines
504 B
C#
|
|
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
|
|||
|
|
// © 2016 Clemens Fischer
|
|||
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|||
|
|
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using System.Xml;
|
|||
|
|
|
|||
|
|
namespace MapControl
|
|||
|
|
{
|
|||
|
|
public partial class WmsImageLayer
|
|||
|
|
{
|
|||
|
|
private static async Task<XmlDocument> LoadDocument(string requestUri)
|
|||
|
|
{
|
|||
|
|
var document = new XmlDocument();
|
|||
|
|
await Task.Run(() => document.Load(requestUri));
|
|||
|
|
return document;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|