diff options
Diffstat (limited to 'mobile-widgets/qml/MapWidget.qml')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 28754e0de..17b93c773 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -80,7 +80,7 @@ Item { NumberAnimation { target: map property: "zoomLevel" - to: 17 + to: map.newZoom duration: 3000 easing.type: Easing.InCubic } @@ -89,6 +89,7 @@ Item { function centerOnMapLocation(mapLocation) { map.newCenter = mapLocation.coordinate map.zoomLevel = 2 + map.newZoom = map.defaultZoomIn mapAnimation.restart() mapHelper.model.selectedUuid = mapLocation.uuid } |