GeoImage and GroundOverlay implementation

This commit is contained in:
ClemensFischer 2024-09-13 23:47:17 +02:00
parent 1b0e73dc35
commit 020a871714
4 changed files with 45 additions and 34 deletions

View file

@ -74,11 +74,11 @@ namespace MapControl
image.SetValue(SourcePathProperty, value);
}
public static Image LoadGeoImage(string sourcePath)
public static async Task<Image> CreateAsync(string sourcePath)
{
var image = new Image();
SetSourcePath(image, sourcePath);
await LoadGeoImageAsync(image, sourcePath);
return image;
}