summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.UWP
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Maps.UWP')
-rw-r--r--Xamarin.Forms.Maps.UWP/MapRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Maps.UWP/MapRenderer.cs b/Xamarin.Forms.Maps.UWP/MapRenderer.cs
index abecbe3..c8309cc 100644
--- a/Xamarin.Forms.Maps.UWP/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.UWP/MapRenderer.cs
@@ -231,7 +231,7 @@ namespace Xamarin.Forms.Maps.WinRT
var longitudeDelta = Math.Abs(nw.Position.Longitude - se.Position.Longitude);
await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
{
- Element.VisibleRegion = new MapSpan(center, latitudeDelta, longitudeDelta);
+ Element.SetVisibleRegion(new MapSpan(center, latitudeDelta, longitudeDelta));
});
}
}