diff options
Diffstat (limited to 'mobile-widgets/qml/MapWidget.qml')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 38c8fd081..34731e490 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -60,7 +60,7 @@ Item { MouseArea { anchors.fill: parent onClicked: { - mapHelper.model.selectedUuid = model.uuid + mapHelper.model.setSelectedUuid(model.uuid, true) mapItemImageAnimation.restart() } } @@ -106,12 +106,12 @@ Item { } function centerOnMapLocation(mapLocation) { - mapHelper.model.selectedUuid = mapLocation.uuid + mapHelper.model.setSelectedUuid(mapLocation.uuid, false) animateMapZoomIn(mapLocation.coordinate) } function deselectMapLocation() { - mapHelper.model.selectedUuid = 0 + mapHelper.model.setSelectedUuid(0, false) animateMapZoomOut() } } |