Skip to content

Commit

Permalink
FlightMapSettings: add elevation map provider setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidsastresas committed Jun 18, 2023
1 parent added25 commit 6b1817c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Settings/FlightMap.SettingsGroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"shortDesc": "Currently selected map type for flight maps",
"type": "string",
"default": "Hybrid"
},
{
"name": "elevationMapProvider",
"shortDesc": "Currently selected elevation map provider",
"type": "string",
"default": "Airmap Elevation"
}
]
}
1 change: 1 addition & 0 deletions src/Settings/FlightMapSettings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ DECLARE_SETTINGGROUP(FlightMap, "FlightMap")

DECLARE_SETTINGSFACT(FlightMapSettings, mapProvider)
DECLARE_SETTINGSFACT(FlightMapSettings, mapType)
DECLARE_SETTINGSFACT(FlightMapSettings, elevationMapProvider)
1 change: 1 addition & 0 deletions src/Settings/FlightMapSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ class FlightMapSettings : public SettingsGroup
DEFINE_SETTING_NAME_GROUP()
DEFINE_SETTINGFACT(mapProvider)
DEFINE_SETTINGFACT(mapType)
DEFINE_SETTINGFACT(elevationMapProvider)

};

0 comments on commit 6b1817c

Please sign in to comment.