main.qml 655 Bytes
Newer Older
Valentin Platzgummer's avatar
Valentin Platzgummer committed
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 32
import QtQuick 2.11
import QtQuick.Window 2.11
import QtLocation 5.5

import "../../../src/WimaView"

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")

    Map{
        id: map
        anchors.fill: parent

        plugin: Plugin {
                name: "osm" // "mapboxgl", "esri", ...
                // specify plugin parameters if necessary
                // PluginParameter {
                //     name:
                //     value:
                // }
            }
        Repeater{
            model: survey
            SphericalSurveyMapVisual{
                map: map
            }
        }
    }
}