1/****************************************************************************
3 * (c) 2009-2024 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
5 * QGroundControl is licensed according to the terms in the file
6 * COPYING.md in the root of the source code directory.
8 ****************************************************************************/
13import QGroundControl.GeoMap
15/// Fly-view 2D/3D map: the GeoMap-engine counterpart of FlyViewMap.
16/// Fly-view specific map content (vehicle items, trajectory, ...) lands here.
20 allowGCSLocationCenter: true
21 allowVehicleLocationCenter: true
22 keepVehicleCentered: QGroundControl.settingsManager.flyViewSettings.keepMapCenteredOnVehicle.rawValue
24 readonly property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle
26 // Vehicle home (launch) location
29 surfaceModel: root.surfaceModel
30 coordinate: root._activeVehicle ? root._activeVehicle.homePosition : QtPositioning.coordinate()
31 visible: root._activeVehicle && root._activeVehicle.homePosition.isValid
36 model: QGroundControl.multiVehicleManager.vehicles
40 surfaceModel: root.surfaceModel
47 surfaceModel: root.surfaceModel
48 vehicle: root._activeVehicle