diff --git a/htdocs/lib/MapManager.js b/htdocs/lib/MapManager.js index 9abbcee9..28d0ebb2 100644 --- a/htdocs/lib/MapManager.js +++ b/htdocs/lib/MapManager.js @@ -85,7 +85,7 @@ MapManager.prototype.process = function(e) { this.initializeMap( this.config.receiver_gps, this.config.google_maps_api_key, - this.config.openweather_map_api_key + this.config.openweathermap_api_key ); } if ('receiver_name' in this.config) { diff --git a/owrx/config/defaults.py b/owrx/config/defaults.py index 28df2b05..c5f6020e 100644 --- a/owrx/config/defaults.py +++ b/owrx/config/defaults.py @@ -161,7 +161,7 @@ defaultConfig = PropertyLayer( tuning_precision=2, squelch_auto_margin=10, google_maps_api_key="", - openweather_map_api_key="", + openweathermap_api_key="", map_type="google", map_position_retention_time=2 * 60 * 60, map_prefer_recent_reports=True, diff --git a/owrx/connection.py b/owrx/connection.py index 4ae39a8a..b65dd8be 100644 --- a/owrx/connection.py +++ b/owrx/connection.py @@ -503,7 +503,7 @@ class MapConnection(OpenWebRxClient): pm = Config.get() filtered_config = pm.filter( "google_maps_api_key", - "openweather_map_api_key", + "openweathermap_api_key", "receiver_gps", "map_type", "map_position_retention_time", diff --git a/owrx/controllers/settings/general.py b/owrx/controllers/settings/general.py index 2a43de8f..e28e9b10 100644 --- a/owrx/controllers/settings/general.py +++ b/owrx/controllers/settings/general.py @@ -241,9 +241,9 @@ class GeneralSettingsController(SettingsFormController): + "their documentation on how to obtain one.", ), TextInput( - "openweather_map_api_key", - "OpenWeather Map API key", - infotext="OpenWeather Map requires an API key, check out " + "openweathermap_api_key", + "OpenWeatherMap API key", + infotext="OpenWeatherMap requires an API key, check out " + '' + "their documentation on how to obtain one.", ),