diff --git a/MBTiles/UWP/MBTiles.UWP.csproj b/MBTiles/UWP/MBTiles.UWP.csproj index 412b7f90..d8d3ec26 100644 --- a/MBTiles/UWP/MBTiles.UWP.csproj +++ b/MBTiles/UWP/MBTiles.UWP.csproj @@ -11,8 +11,8 @@ MBTiles.UWP en-US UAP - 10.0.17763.0 - 10.0.17763.0 + 10.0.17134.0 + 10.0.17134.0 14 512 {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} diff --git a/MapImages/Shared/WorldFileImage.cs b/MapImages/Shared/WorldFileImage.cs index f3411615..25909662 100644 --- a/MapImages/Shared/WorldFileImage.cs +++ b/MapImages/Shared/WorldFileImage.cs @@ -29,16 +29,6 @@ namespace MapControl.Images "Path", typeof(string), typeof(WorldFileImage), new PropertyMetadata(null, async (o, e) => (await ReadWorldFileImage((string)e.NewValue)).SetImage((Image)o))); - public static string GetPath(Image image) - { - return (string)image.GetValue(PathProperty); - } - - public static void SetPath(Image image, string path) - { - image.SetValue(PathProperty, path); - } - public BitmapSource Bitmap { get; } public Matrix Transform { get; } public MapProjection Projection { get; } @@ -77,6 +67,16 @@ namespace MapControl.Images }; } + public static string GetPath(Image image) + { + return (string)image.GetValue(PathProperty); + } + + public static void SetPath(Image image, string path) + { + image.SetValue(PathProperty, path); + } + public static async Task ReadWorldFileImage(string imagePath, string worldFilePath, string projFilePath = null) { BitmapSource bitmap; @@ -181,9 +181,6 @@ namespace MapControl.Images return image; } - /// - /// Experimental - /// public static async Task CreateImage(string imagePath) { return (await ReadWorldFileImage(imagePath)).CreateImage();