mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
MapWidget.qml: create an instance of MapWidgetHelper
This instance in the QML code itself will be accessed by both the mobile and desktop version. That way, the map code between the two Subsurface versions will be shared. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
e2a4f3fcee
commit
0d75dec0fa
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
import QtQuick 2.0
|
||||
import QtLocation 5.3
|
||||
import QtPositioning 5.3
|
||||
import org.subsurfacedivelog.mobile 1.0
|
||||
|
||||
Item {
|
||||
|
||||
|
@ -11,6 +12,10 @@ Item {
|
|||
name: "esri"
|
||||
}
|
||||
|
||||
MapWidgetHelper {
|
||||
id: mapHelper
|
||||
}
|
||||
|
||||
Map {
|
||||
id: map
|
||||
anchors.fill: parent
|
||||
|
|
Loading…
Add table
Reference in a new issue