From a73a56284cac7885b396df4f8d04f6cb8fec6996 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Fri, 14 Jul 2017 17:53:08 +0300 Subject: [PATCH] map: add placeholder MapWidget.qml in mobile-widgets/qml Signed-off-by: Lubomir I. Ivanov --- mobile-widgets/qml/MapWidget.qml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mobile-widgets/qml/MapWidget.qml diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml new file mode 100644 index 000000000..6e3476ae1 --- /dev/null +++ b/mobile-widgets/qml/MapWidget.qml @@ -0,0 +1,21 @@ +import QtQuick 2.0 +import QtLocation 5.3 +import QtPositioning 5.3 + +Rectangle { + id: mapParent + anchors.fill: parent + width: 512 + height: width + + Plugin { + id: mapPlugin + name: "esri" + } + + Map { + anchors.fill: parent + plugin: mapPlugin + zoomLevel: 1 + } +}