From 978a9c0af06bae63ef2555bdd0e84eb2d92f4956 Mon Sep 17 00:00:00 2001 From: jnomikos Date: Sat, 14 Dec 2024 17:15:49 -0600 Subject: [PATCH] Make unloaded map tiles dark grey when in indoor mode --- src/FlightMap/FlightMap.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FlightMap/FlightMap.qml b/src/FlightMap/FlightMap.qml index 93a1bba8815..e264ea4fde8 100644 --- a/src/FlightMap/FlightMap.qml +++ b/src/FlightMap/FlightMap.qml @@ -24,6 +24,7 @@ import QGroundControl.QGCPositionManager Map { id: _map + color: indoorPalette ? qgcPal.windowShadeDark : "white" plugin: Plugin { name: "QGroundControl" } opacity: 0.99 // https://bugreports.qt.io/browse/QTBUG-82185 @@ -37,6 +38,7 @@ Map { property bool firstGCSPositionReceived: false ///< true: first gcs position update was responded to property bool firstVehiclePositionReceived: false ///< true: first vehicle position update was responded to property bool planView: false ///< true: map being using for Plan view, items should be draggable + property bool indoorPalette: QGroundControl.settingsManager.appSettings.indoorPalette.rawValue == 1 readonly property real maxZoomLevel: 20