summaryrefslogtreecommitdiff
path: root/src/main.qml
blob: 5442abc3f0911df19000e936ed8d0ca2c9822a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import QtQuick 2.0
import org.asteroid.controls 1.0
import QtPositioning 5.15
import QtLocation 5.15

Application {
    id: app

    centerColor: "#9800A6"
    outerColor: "#0C0009"

    Label {
        text: "Map Data from OpenStreetMap"
        anchors.centerIn: parent
        z: 0
    }
    Plugin {
        id: mapProvider
        name: "osm"
    }
    LayerStack {
        id: pagestack
        anchors.fill: parent
        firstPage: mainmapview
    }

    Component {
        id: mainmapview
        MainMapView {}
    }
}