diff options
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index aa5edc5e6..d2a2924d2 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -148,16 +148,15 @@ Item { id: contextMenu y: 10; x: map.width - y onActionSelected: { - // TODO: perform action actions switch (action) { case contextMenu.actions.OPEN_LOCATION_IN_GOOGLE_MAPS: openLocationInGoogleMaps(map.center.latitude, map.center.longitude) break; case contextMenu.actions.COPY_LOCATION_DECIMAL: - console.log("COPY_LOCATION_DECIMAL"); + mapHelper.copyToClipboardCoordinates(map.center, false); break; case contextMenu.actions.COPY_LOCATION_SEXAGESIMAL: - console.log("COPY_LOCATION_SEXAGESIMAL"); + mapHelper.copyToClipboardCoordinates(map.center, true); break; } } |