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.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml
index 684d76a03..13c095a5f 100644
--- a/mobile-widgets/qml/MapWidget.qml
+++ b/mobile-widgets/qml/MapWidget.qml
@@ -141,5 +141,19 @@ Item {
MapWidgetContextMenu {
id: contextMenu
y: 10; x: map.width - y
+ onActionSelected: {
+ // TODO: perform action actions
+ switch (action) {
+ case contextMenu.actions.OPEN_LOCATION_IN_GOOGLE_MAPS:
+ console.log("OPEN_LOCATION_IN_GOOGLE_MAPS");
+ break;
+ case contextMenu.actions.COPY_LOCATION_DECIMAL:
+ console.log("COPY_LOCATION_DECIMAL");
+ break;
+ case contextMenu.actions.COPY_LOCATION_SEXAGESIMAL:
+ console.log("COPY_LOCATION_SEXAGESIMAL");
+ break;
+ }
+ }
}
}