Skip to content

Commit

Permalink
Bind direction to QGeoCoordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
NaterGator committed Jun 16, 2016
1 parent 5171223 commit 386b34f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/FlightDisplay/FlightDisplayViewMap.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/FlightMap/MapItems/MissionLineView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
}
}

0 comments on commit 386b34f

Please sign in to comment.