summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/MapWidget.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/MapWidget.qml')
-rw-r--r--mobile-widgets/qml/MapWidget.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml
index 128423285..685bc0dc6 100644
--- a/mobile-widgets/qml/MapWidget.qml
+++ b/mobile-widgets/qml/MapWidget.qml
@@ -153,9 +153,8 @@ Item {
mapAnimationZoomOut.restart()
}
- function centerOnMapLocation(mapLocation) {
- mapHelper.model.setSelectedUuid(mapLocation.uuid, false)
- animateMapZoomIn(mapLocation.coordinate)
+ function centerOnCoordinate(coord) {
+ animateMapZoomIn(coord)
}
function deselectMapLocation() {