Fixed ZoomLevelAnimationCompleted method.

This commit is contained in:
ClemensF 2016-02-21 00:06:54 +01:00
parent 3a414a7a6a
commit ea541225b5

View file

@ -1,5 +1,5 @@
// XAML Map Control - http://xamlmapcontrol.codeplex.com/
// © 2015 Clemens Fischer
// © 2016 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
using System;
@ -735,8 +735,7 @@ namespace MapControl
InternalSetValue(ZoomLevelProperty, TargetZoomLevel);
RemoveAnimation(ZoomLevelProperty); // remove holding animation in WPF
Dispatcher.BeginInvoke(new Action(() => UpdateTransform(true)));
UpdateTransform(true);
}
}