summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-08-16 08:44:10 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:40 (GMT)
commitad7e3d2d400e7a0b8c486e63fe6fc932357ca52b (patch)
tree70a5add94d48e301a629ebe1db66890d8e53eab4
parent6b1aac5fa492519fc8fe76f41d71264d31310d26 (diff)
downloadxamarin-forms-ad7e3d2d400e7a0b8c486e63fe6fc932357ca52b.zip
xamarin-forms-ad7e3d2d400e7a0b8c486e63fe6fc932357ca52b.tar.gz
xamarin-forms-ad7e3d2d400e7a0b8c486e63fe6fc932357ca52b.tar.bz2
Use SetVisibleRegion in XFMaps.Tizen
Change-Id: Idd49f9da5033bae618f2f0d5bc88088079dbbbb5
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Maps.Tizen/MapRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Maps.Tizen/MapRenderer.cs b/Xamarin.Forms.Maps.Tizen/MapRenderer.cs
index b72c1a8..32e4f1a 100755..100644
--- a/Xamarin.Forms.Maps.Tizen/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.Tizen/MapRenderer.cs
@@ -159,7 +159,7 @@ namespace Xamarin.Forms.Maps.Tizen
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(Control.Center.Latitude, Control.Center.Longitude), dlat, dlong);
+ Element.SetVisibleRegion(new MapSpan(new Position(Control.Center.Latitude, Control.Center.Longitude), dlat, dlong));
}