summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjh5.cho <jh5.cho@samsung.com>2017-03-17 11:58:29 (GMT)
committerjh5.cho <jh5.cho@samsung.com>2017-03-20 09:50:08 (GMT)
commit97d39ca8acf3cc659f57f096054f2f8865c9a9fc (patch)
tree8adf363094d97789f17a76353b707be5fe47c2a0
parent665e99968a805011b9861e0a0036e2da81bab1c1 (diff)
downloadxamarin-forms-97d39ca8acf3cc659f57f096054f2f8865c9a9fc.zip
xamarin-forms-97d39ca8acf3cc659f57f096054f2f8865c9a9fc.tar.gz
xamarin-forms-97d39ca8acf3cc659f57f096054f2f8865c9a9fc.tar.bz2
Add logic to move map when first launchrefs/changes/91/119591/3
- 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