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,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…
x
Reference in New Issue
Block a user