Commit 0f53ef5c authored by DonLakeFlyer's avatar DonLakeFlyer
Browse files

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 { ...@@ -331,12 +331,14 @@ QGCView {
id: panel id: panel
anchors.fill: parent anchors.fill: parent
Map { FlightMap {
id: _map id: _map
anchors.fill: parent anchors.fill: parent
center: QGroundControl.flightMapPosition visible: false
visible: false allowGCSLocationCenter: true
allowVehicleLocationCenter: false
gesture.flickDeceleration: 3000 gesture.flickDeceleration: 3000
mapName: "OfflineMap"
property bool isSatelliteMap: activeMapType.name.indexOf("Satellite") > -1 || activeMapType.name.indexOf("Hybrid") > -1 property bool isSatelliteMap: activeMapType.name.indexOf("Satellite") > -1 || activeMapType.name.indexOf("Hybrid") > -1
......
Supports Markdown
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