From 3774bf2ed3a1a30c4974e545700b04de2b907de4 Mon Sep 17 00:00:00 2001 From: ClemensF Date: Tue, 8 Aug 2017 21:24:51 +0200 Subject: [PATCH] Version 4.0.1: Fixed MapOverlay. --- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- MapControl/UWP/Properties/AssemblyInfo.cs | 4 +- MapControl/UWP/Tile.UWP.cs | 6 +- MapControl/WPF/MapGraticule.WPF.cs | 10 ++- MapControl/WPF/MapOverlay.WPF.cs | 83 +++++++------------ MapControl/WPF/MapScale.WPF.cs | 12 +-- MapControl/WPF/Properties/AssemblyInfo.cs | 4 +- MapControl/WPF/Tile.WPF.cs | 6 +- .../UniversalApp/Properties/AssemblyInfo.cs | 4 +- SampleApps/WpfApplication/OutlinedText.cs | 16 ++-- .../WpfApplication/Properties/AssemblyInfo.cs | 4 +- 12 files changed, 64 insertions(+), 93 deletions(-) diff --git a/Caching/FileDbCache.UWP/Properties/AssemblyInfo.cs b/Caching/FileDbCache.UWP/Properties/AssemblyInfo.cs index edd9e95e..64204363 100644 --- a/Caching/FileDbCache.UWP/Properties/AssemblyInfo.cs +++ b/Caching/FileDbCache.UWP/Properties/AssemblyInfo.cs @@ -7,8 +7,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCopyright("© 2017 Clemens Fischer")] [assembly: AssemblyTrademark("")] -[assembly: AssemblyVersion("4.0.0")] -[assembly: AssemblyFileVersion("4.0.0")] +[assembly: AssemblyVersion("4.0.1")] +[assembly: AssemblyFileVersion("4.0.1")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] diff --git a/Caching/FileDbCache.WPF/Properties/AssemblyInfo.cs b/Caching/FileDbCache.WPF/Properties/AssemblyInfo.cs index a7b22831..78795e47 100644 --- a/Caching/FileDbCache.WPF/Properties/AssemblyInfo.cs +++ b/Caching/FileDbCache.WPF/Properties/AssemblyInfo.cs @@ -7,8 +7,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCopyright("© 2017 Clemens Fischer")] [assembly: AssemblyTrademark("")] -[assembly: AssemblyVersion("4.0.0")] -[assembly: AssemblyFileVersion("4.0.0")] +[assembly: AssemblyVersion("4.0.1")] +[assembly: AssemblyFileVersion("4.0.1")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] diff --git a/MapControl/UWP/Properties/AssemblyInfo.cs b/MapControl/UWP/Properties/AssemblyInfo.cs index b839809d..3ab8cb70 100644 --- a/MapControl/UWP/Properties/AssemblyInfo.cs +++ b/MapControl/UWP/Properties/AssemblyInfo.cs @@ -7,8 +7,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyCompany("Clemens Fischer")] [assembly: AssemblyCopyright("© 2017 Clemens Fischer")] [assembly: AssemblyTrademark("")] -[assembly: AssemblyVersion("4.0.0")] -[assembly: AssemblyFileVersion("4.0.0")] +[assembly: AssemblyVersion("4.0.1")] +[assembly: AssemblyFileVersion("4.0.1")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] diff --git a/MapControl/UWP/Tile.UWP.cs b/MapControl/UWP/Tile.UWP.cs index 4a2e643a..491af051 100644 --- a/MapControl/UWP/Tile.UWP.cs +++ b/MapControl/UWP/Tile.UWP.cs @@ -28,8 +28,7 @@ namespace MapControl } else { - Image.BeginAnimation(UIElement.OpacityProperty, - new DoubleAnimation { From = 0d, To = 1d, Duration = FadeDuration }); + Image.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation { To = 1d, Duration = FadeDuration }); } } else @@ -47,8 +46,7 @@ namespace MapControl bitmapImage.ImageOpened -= BitmapImageOpened; bitmapImage.ImageFailed -= BitmapImageFailed; - Image.BeginAnimation(UIElement.OpacityProperty, - new DoubleAnimation { From = 0d, To = 1d, Duration = FadeDuration }); + Image.BeginAnimation(UIElement.OpacityProperty, new DoubleAnimation { To = 1d, Duration = FadeDuration }); } private void BitmapImageFailed(object sender, ExceptionRoutedEventArgs e) diff --git a/MapControl/WPF/MapGraticule.WPF.cs b/MapControl/WPF/MapGraticule.WPF.cs index df215e59..137a6b56 100644 --- a/MapControl/WPF/MapGraticule.WPF.cs +++ b/MapControl/WPF/MapGraticule.WPF.cs @@ -48,14 +48,16 @@ namespace MapControl var lonLabelStart = Math.Ceiling(bounds.West / lineDistance) * lineDistance; var latLabels = new List