Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
386b34f6
Commit
386b34f6
authored
Jun 16, 2016
by
Nate Weibley
Browse files
Bind direction to QGeoCoordinates
parent
51712236
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/FlightDisplay/FlightDisplayViewMap.qml
View file @
386b34f6
...
...
@@ -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
,
]
}
}
...
...
src/FlightMap/MapItems/MissionLineView.qml
View file @
386b34f6
...
...
@@ -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
,
]
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment