Renamed GeoImage

This commit is contained in:
Clemens 2022-01-16 18:39:50 +01:00
parent abde6ad9fd
commit 41cd7c569d
7 changed files with 307 additions and 22 deletions

View file

@ -17,9 +17,9 @@ using Windows.UI.Xaml.Media.Imaging;
namespace MapControl.Images
{
public partial class GeoTaggedImage
public partial class GeoImage
{
public static async Task<GeoTaggedImage> ReadGeoTiff(string imageFilePath)
public static async Task<GeoImage> ReadGeoTiff(string imageFilePath)
{
var file = await StorageFile.GetFileFromPathAsync(Path.GetFullPath(imageFilePath));
@ -60,7 +60,7 @@ namespace MapControl.Images
throw new ArgumentException("No coordinate transformation found in \"" + imageFilePath + "\".");
}
return new GeoTaggedImage(bitmap, transform, null);
return new GeoImage(bitmap, transform, null);
}
}
}