12import QGroundControl.Controls
13import QGroundControl.FlyView
14import QGroundControl.FlightMap
16// To implement a custom overlay copy this code to your own control in your custom code source. Then override the
17// FlyViewCustomLayer.qml resource with your own qml. See the custom example and documentation for details.
21 property var occluders // FlyViewOccluders: where the upstream widgets are, use these to position your controls
22 property var customOccluders: [] // Rects of your controls which cover the map, so the map keeps the vehicle out from under them. Keep them off the view center, the map recenters there
23 property var mapControl // FlyViewMap, or FlyViewGeoMapAdapter with the GeoMap engine: add GeoMap items through QGCCorePlugin::customGeoMapItems