|
|
|
@ -19,9 +19,10 @@ MapItemView {
@@ -19,9 +19,10 @@ MapItemView {
|
|
|
|
|
property bool showSpecialVisual: false |
|
|
|
|
delegate: MapPolyline { |
|
|
|
|
line.width: 3 |
|
|
|
|
// Note: Special visuals for ROI are hacked out for now since they are not working correctly |
|
|
|
|
line.color: _terrainCollision ? |
|
|
|
|
"red" : |
|
|
|
|
(showSpecialVisual ? "green" : QGroundControl.globalPalette.mapMissionTrajectory) |
|
|
|
|
(false/*showSpecialVisual*/ ? "green" : QGroundControl.globalPalette.mapMissionTrajectory) |
|
|
|
|
z: QGroundControl.zOrderWaypointLines |
|
|
|
|
path: object && object.coordinate1.isValid && object.coordinate2.isValid ? [ object.coordinate1, object.coordinate2 ] : [] |
|
|
|
|
|
|
|
|
|