From 5266a5e84bad48c8423f67a24f8e33552d0bad90 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sun, 16 Jul 2017 23:59:09 +0300 Subject: MapWidget.qml: reference the Map object in the MapWidgetHelper object The idea here is that the Map object can be controlled from C++ via the "m_map" private member. Also, for the mobile version, QML code can call the same C++ methods (if marked as Q_INVOCABLE). Signed-off-by: Lubomir I. Ivanov --- mobile-widgets/qml/MapWidget.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 2539eef25..60f67d162 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -14,6 +14,7 @@ Item { MapWidgetHelper { id: mapHelper + map: map } Map { -- cgit v1.2.3-70-g09d2