Commit e356fc14 authored by DoinLakeFlyer's avatar DoinLakeFlyer

parent fd19b461
......@@ -7,7 +7,6 @@
*
****************************************************************************/
import QtQuick 2.3
import QtLocation 5.3
import QtPositioning 5.3
......@@ -20,7 +19,7 @@ MapItemView {
property bool showSpecialVisual: false
delegate: MapPolyline {
line.width: 3
line.color: object && showSpecialVisual && object.specialVisual ? "green" : "#be781c" // Hack, can't get palette to work in here
line.color: object && showSpecialVisual && object.specialVisual ? "green" : QGroundControl.globalPalette.mapMissionTrajectory
z: QGroundControl.zOrderWaypointLines
path: object && object.coordinate1.isValid && object.coordinate2.isValid ? [ object.coordinate1, object.coordinate2 ] : []
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment