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
af3a45064d
commit
f948f07f7e
|
|
@ -82,12 +82,6 @@ namespace MapControl
|
||||||
Children.Clear();
|
Children.Clear();
|
||||||
|
|
||||||
if (imageOverlays != null)
|
if (imageOverlays != null)
|
||||||
{
|
|
||||||
AddImageOverlays(imageOverlays);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void AddImageOverlays(IEnumerable<ImageOverlay> imageOverlays)
|
|
||||||
{
|
{
|
||||||
foreach (var imageOverlay in imageOverlays.Where(i => i.ImageSource != null))
|
foreach (var imageOverlay in imageOverlays.Where(i => i.ImageSource != null))
|
||||||
{
|
{
|
||||||
|
|
@ -102,6 +96,7 @@ namespace MapControl
|
||||||
Children.Add(image);
|
Children.Add(image);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static async Task<IEnumerable<ImageOverlay>> ReadGroundOverlaysFromArchiveAsync(string archiveFilePath)
|
private static async Task<IEnumerable<ImageOverlay>> ReadGroundOverlaysFromArchiveAsync(string archiveFilePath)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue