summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/MapWidget.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml
index ddfd2938c..b8f8b00b9 100644
--- a/mobile-widgets/qml/MapWidget.qml
+++ b/mobile-widgets/qml/MapWidget.qml
@@ -24,7 +24,10 @@ Item {
plugin: mapPlugin
zoomLevel: 1
- property var newCenter: QtPositioning.coordinate(0, 0);
+ readonly property var defaultCenter: QtPositioning.coordinate(0, 0);
+ readonly property var defaultZoomIn: 17.0;
+ property var newCenter: defaultCenter;
+ property var newZoom: 1.0;
Component.onCompleted: {
map.activeMapType = map.supportedMapTypes[esriMapTypeIndexes.SATELLITE];