Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unloaded map tiles dark grey when in indoor mode #12207

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/FlightMap/FlightMap.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Loading