From 19c737394cdcfa0f1c91ac2518554e16b4f564db Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 1 Jan 2020 21:22:03 -0800 Subject: [PATCH] Heading value should be real so NaN comes through --- src/FlightMap/FlightMap.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FlightMap/FlightMap.qml b/src/FlightMap/FlightMap.qml index 4959a88cb..ffa8eb6b9 100644 --- a/src/FlightMap/FlightMap.qml +++ b/src/FlightMap/FlightMap.qml @@ -35,7 +35,7 @@ Map { property string mapName: 'defaultMap' property bool isSatelliteMap: activeMapType.name.indexOf("Satellite") > -1 || activeMapType.name.indexOf("Hybrid") > -1 property var gcsPosition: QGroundControl.qgcPositionManger.gcsPosition - property int gcsHeading: QGroundControl.qgcPositionManger.gcsHeading + property real gcsHeading: QGroundControl.qgcPositionManger.gcsHeading property bool userPanned: false ///< true: the user has manually panned the map property bool allowGCSLocationCenter: false ///< true: map will center/zoom to gcs location one time property bool allowVehicleLocationCenter: false ///< true: map will center/zoom to vehicle location one time -- 2.22.0