summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.Android
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.Android
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.Android')
-rw-r--r--Xamarin.Forms.Maps.Android/MapRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Maps.Android/MapRenderer.cs b/Xamarin.Forms.Maps.Android/MapRenderer.cs
index 0b426d3..138cd57 100644
--- a/Xamarin.Forms.Maps.Android/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.Android/MapRenderer.cs
@@ -385,7 +385,7 @@ namespace Xamarin.Forms.Maps.Android
LatLng lr = projection.FromScreenLocation(new global::Android.Graphics.Point(width, height));
double dlat = Math.Max(Math.Abs(ul.Latitude - lr.Latitude), Math.Abs(ur.Latitude - ll.Latitude));
double dlong = Math.Max(Math.Abs(ul.Longitude - lr.Longitude), Math.Abs(ur.Longitude - ll.Longitude));
- Element.VisibleRegion = new MapSpan(new Position(pos.Latitude, pos.Longitude), dlat, dlong);
+ Element.SetVisibleRegion(new MapSpan(new Position(pos.Latitude, pos.Longitude), dlat, dlong));
}
void IOnMapReadyCallback.OnMapReady(GoogleMap map)