summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjh5.cho <jh5.cho@samsung.com>2017-03-17 11:58:29 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-03-24 04:19:03 (GMT)
commit1e105aae58f1303b178316546ac3cd6e10f37757 (patch)
tree1279d97d970f73fae84595f16c6b36829bbfacbf
parentb5a4f7d42090f495196f4f451db6380ef9d86a00 (diff)
downloadxamarin-forms-1e105aae58f1303b178316546ac3cd6e10f37757.zip
xamarin-forms-1e105aae58f1303b178316546ac3cd6e10f37757.tar.gz
xamarin-forms-1e105aae58f1303b178316546ac3cd6e10f37757.tar.bz2
Add logic to move map when first launch
- Add logic to move to specific point on the map when the MapSpan is given on the Map Constructor. (e.g. var map = new Map(new MapSpan(new Position(37.466047, 127.024097), 10, 10))) Change-Id: I85a8502a8c101ec984730b72e66a783fee19e2e4
-rwxr-xr-xXamarin.Forms.Maps.Tizen/MapRenderer.cs5
-rw-r--r--packaging/xamarin-forms-tizen.spec2
2 files changed, 6 insertions, 1 deletions
diff --git a/Xamarin.Forms.Maps.Tizen/MapRenderer.cs b/Xamarin.Forms.Maps.Tizen/MapRenderer.cs
index 752b021..c04f6cc 100755
--- a/Xamarin.Forms.Maps.Tizen/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.Tizen/MapRenderer.cs
@@ -45,6 +45,11 @@ namespace Xamarin.Forms.Maps.Tizen
mapControl.RenderPost += OnVisibleRegionChanged;
SetNativeControl(mapControl);
+
+ if (Element.LastMoveToRegion != null)
+ {
+ OnMoveToRegion(null, Element.LastMoveToRegion);
+ }
}
if (e.OldElement != null)
diff --git a/packaging/xamarin-forms-tizen.spec b/packaging/xamarin-forms-tizen.spec
index 68cbeb9..fea2a20 100644
--- a/packaging/xamarin-forms-tizen.spec
+++ b/packaging/xamarin-forms-tizen.spec
@@ -1,7 +1,7 @@
%define XF_VERSION 2.3.4
# Increase this XF_TIZEN_VERSION when any public APIs of Xamarin.Forms.Platform.Tizen are changed.
-%define XF_TIZEN_VERSION r192-004
+%define XF_TIZEN_VERSION r192-005
Name: xamarin-forms-tizen
Summary: Xamarin.Forms for Tizen platform