diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-14 17:53:08 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | a73a56284cac7885b396df4f8d04f6cb8fec6996 (patch) | |
tree | 6c3ebdc290fb9cae21565ee87a556d06daab502d | |
parent | e6ee87efec89726b856a15e747b9fbd2298bf1b1 (diff) | |
download | subsurface-a73a56284cac7885b396df4f8d04f6cb8fec6996.tar.gz |
map: add placeholder MapWidget.qml in mobile-widgets/qml
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 21 |
1 files changed, 21 insertions, 0 deletions
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 + } +} |