aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-14 17:53:08 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commita73a56284cac7885b396df4f8d04f6cb8fec6996 (patch)
tree6c3ebdc290fb9cae21565ee87a556d06daab502d /mobile-widgets
parente6ee87efec89726b856a15e747b9fbd2298bf1b1 (diff)
downloadsubsurface-a73a56284cac7885b396df4f8d04f6cb8fec6996.tar.gz
map: add placeholder MapWidget.qml in mobile-widgets/qml
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/MapWidget.qml21
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
+ }
+}