Commit 386b34f6 authored by Nate Weibley's avatar Nate Weibley

Bind direction to QGeoCoordinates

parent 51712236
......@@ -67,8 +67,8 @@ FlightMap {
line.color: "red"
z: QGroundControl.zOrderMapItems - 1
path: [
{ latitude: object.coordinate1.latitude, longitude: object.coordinate1.longitude },
{ latitude: object.coordinate2.latitude, longitude: object.coordinate2.longitude },
object.coordinate1,
object.coordinate2,
]
}
}
......
......@@ -27,8 +27,8 @@ MapItemView {
z: QGroundControl.zOrderMapItems - 1 // Under item indicators
path: [
{ latitude: object.coordinate1.latitude, longitude: object.coordinate1.longitude },
{ latitude: object.coordinate2.latitude, longitude: object.coordinate2.longitude },
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