Browse Source

Merge pull request #5561 from DonLakeFlyer/OfflineMap

Offline map: Use FlightMap as base
QGC4.4
Don Gagne 8 years ago committed by GitHub
parent
commit
3da7cf57ef
  1. 12
      src/QtLocationPlugin/QMLControl/OfflineMap.qml

12
src/QtLocationPlugin/QMLControl/OfflineMap.qml

@ -331,12 +331,14 @@ QGCView { @@ -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

Loading…
Cancel
Save