map: add placeholder MapWidget.qml in mobile-widgets/qml
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
e6ee87efec
commit
a73a56284c
21
mobile-widgets/qml/MapWidget.qml
Normal file
21
mobile-widgets/qml/MapWidget.qml
Normal file
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user