Commit 0f53ef5c authored by DonLakeFlyer's avatar DonLakeFlyer

Use FlightMap as base for offline map

This way:
* GCS location is shown
* It follows same centering semantics of FlightMap
* Note: Vehicle is not shown
parent a3490362
......@@ -331,12 +331,14 @@ QGCView {
id: panel
anchors.fill: parent
Map {
id: _map
anchors.fill: parent
center: QGroundControl.flightMapPosition
visible: false
FlightMap {
id: _map
anchors.fill: parent
visible: false
allowGCSLocationCenter: true
allowVehicleLocationCenter: false
gesture.flickDeceleration: 3000
mapName: "OfflineMap"
property bool isSatelliteMap: activeMapType.name.indexOf("Satellite") > -1 || activeMapType.name.indexOf("Hybrid") > -1
......
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