QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
CorridorScanMapVisual.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Controls
3import QtLocation
4import QtPositioning
5
6import QGroundControl
7import QGroundControl.Controls
8import QGroundControl.FlightMap
9
10/// Corridor Scan Complex Mission Item visuals
11TransectStyleMapVisuals {
12 polygonInteractive: false
13 hideMapPolygon: mapPolylineVisuals.dragging
14
15 property bool _currentItem: object.isCurrentItem
16
17 QGCMapPolylineVisuals {
18 id: mapPolylineVisuals
19 mapControl: map
20 mapPolyline: object.corridorPolyline
21 interactive: _currentItem && parent.interactive
22 lineWidth: 3
23 lineColor: "#be781c"
24 visible: _currentItem
25 opacity: parent.opacity
26 }
27}