diff options
-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 + } +} |