mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
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
1 changed files with 21 additions and 0 deletions
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…
Add table
Reference in a new issue