summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.UWP/MapRenderer.cs
diff options
context:
space:
mode:
authorKangho <rookiejava+github@gmail.com>2017-07-24 20:23:14 (GMT)
committerJason Smith <jason.smith@xamarin.com>2017-07-24 20:23:14 (GMT)
commit171fa0faecb2d89e81042346cf659d4499e50a5d (patch)
treebaeeb921f69a34f4e31b5f08981da5e0f7b89ce7 /Xamarin.Forms.Maps.UWP/MapRenderer.cs
parent6de1c5c8d75449834419d5760d78e72fce4b251e (diff)
downloadxamarin-forms-171fa0faecb2d89e81042346cf659d4499e50a5d.zip
xamarin-forms-171fa0faecb2d89e81042346cf659d4499e50a5d.tar.gz
xamarin-forms-171fa0faecb2d89e81042346cf659d4499e50a5d.tar.bz2
Remove InternalsVisibleTo from Maps (#1019)
Diffstat (limited to 'Xamarin.Forms.Maps.UWP/MapRenderer.cs')
-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));
});
}
}