Browse Source

Use recommended mapReady signal

QGC4.4
Holden 3 years ago committed by Ramon Roche
parent
commit
89cd2856c0
  1. 8
      src/FlightMap/FlightMap.qml

8
src/FlightMap/FlightMap.qml

@ -103,9 +103,11 @@ Map {
on_ActiveVehicleCoordinateChanged: _possiblyCenterToVehiclePosition() on_ActiveVehicleCoordinateChanged: _possiblyCenterToVehiclePosition()
Component.onCompleted: { onMapReadyChanged: {
updateActiveMapType() if (_map.mapReady) {
_possiblyCenterToVehiclePosition() updateActiveMapType()
_possiblyCenterToVehiclePosition()
}
} }
Connections { Connections {

Loading…
Cancel
Save