mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update GroundOverlay.cs
This commit is contained in:
parent
3073cf1ef1
commit
29f9118a31
|
|
@ -7,8 +7,6 @@ using System.IO.Compression;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
using System.IO.Pipes;
|
|
||||||
|
|
||||||
#if WPF
|
#if WPF
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
|
|
@ -84,11 +82,9 @@ namespace MapControl
|
||||||
public static async Task<GroundOverlay> CreateAsync(string sourcePath)
|
public static async Task<GroundOverlay> CreateAsync(string sourcePath)
|
||||||
{
|
{
|
||||||
var groundOverlay = new GroundOverlay();
|
var groundOverlay = new GroundOverlay();
|
||||||
var sw = System.Diagnostics.Stopwatch.StartNew();
|
|
||||||
|
|
||||||
await groundOverlay.LoadAsync(sourcePath);
|
await groundOverlay.LoadAsync(sourcePath);
|
||||||
|
|
||||||
System.Diagnostics.Debug.WriteLine(sw.ElapsedMilliseconds);
|
|
||||||
return groundOverlay;
|
return groundOverlay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue