Browse Source

Add vehicles to Plan view

QGC4.4
Don Gagne 9 years ago
parent
commit
dfcd282657
  1. 14
      src/MissionEditor/MissionEditor.qml

14
src/MissionEditor/MissionEditor.qml

@ -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 {
z: QGroundControl.zOrderWidgets z: QGroundControl.zOrderWidgets
dropDownComponent: syncDropDownComponent dropDownComponent: syncDropDownComponent
enabled: !_syncInProgress enabled: !_syncInProgress
rotateImage: _syncInProgress
} }
DropButton { DropButton {

Loading…
Cancel
Save