Commit dfcd2826 authored by Don Gagne's avatar Don Gagne

Add vehicles to Plan view

parent 82b2b73d
...@@ -426,6 +426,19 @@ QGCView { ...@@ -426,6 +426,19 @@ QGCView {
model: controller.waypointLines model: controller.waypointLines
} }
// Add the vehicles to the map
MapItemView {
model: multiVehicleManager.vehicles
delegate:
VehicleMapItem {
vehicle: object
coordinate: object.coordinate
isSatellite: editorMap.isSatelliteMap
size: ScreenTools.defaultFontPixelHeight * 5
z: QGroundControl.zOrderMapItems - 1
}
}
// Mission Item Editor // Mission Item Editor
Item { Item {
id: missionItemEditor id: missionItemEditor
...@@ -518,6 +531,7 @@ QGCView { ...@@ -518,6 +531,7 @@ QGCView {
z: QGroundControl.zOrderWidgets z: QGroundControl.zOrderWidgets
dropDownComponent: syncDropDownComponent dropDownComponent: syncDropDownComponent
enabled: !_syncInProgress enabled: !_syncInProgress
rotateImage: _syncInProgress
} }
DropButton { DropButton {
......
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