diff --git a/MapControl/MapBase.cs b/MapControl/MapBase.cs index e54b2956..2cb15972 100644 --- a/MapControl/MapBase.cs +++ b/MapControl/MapBase.cs @@ -736,7 +736,7 @@ namespace MapControl InternalSetValue(ZoomLevelProperty, TargetZoomLevel); RemoveAnimation(ZoomLevelProperty); // remove holding animation in WPF - Dispatcher.BeginInvoke(() => UpdateTransform(true)); + Dispatcher.BeginInvoke(new Action(() => UpdateTransform(true))); } }