CorridorScanMapVisual.qml 1003 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/****************************************************************************
 *
 *   (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
 *
 * QGroundControl is licensed according to the terms in the file
 * COPYING.md in the root of the source code directory.
 *
 ****************************************************************************/

import QtQuick          2.3
import QtQuick.Controls 1.2
import QtLocation       5.3
import QtPositioning    5.3

import QGroundControl               1.0
import QGroundControl.Controls      1.0

/// Corridor Scan Complex Mission Item visuals
19
TransectStyleMapVisuals {
20 21 22
    polygonInteractive: false

    property bool _currentItem: object.isCurrentItem
23 24 25 26 27

    QGCMapPolylineVisuals {
        id:             mapPolylineVisuals
        mapControl:     map
        mapPolyline:    object.corridorPolyline
28
        interactive:    _currentItem
29 30
        lineWidth:      3
        lineColor:      "#be781c"
31
        visible:        _currentItem
32 33
    }
}