mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-05-07 13:37:47 +00:00
Renamed GeoImage
This commit is contained in:
parent
abde6ad9fd
commit
41cd7c569d
7 changed files with 307 additions and 22 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue