Renaming OpenWeatherMap key.
This commit is contained in:
parent
2d3039dc08
commit
b79ce2fca0
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -241,9 +241,9 @@ class GeneralSettingsController(SettingsFormController):
|
|||
+ "their documentation</a> 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 "
|
||||
+ '<a href="https://openweathermap.org/appid" target="_blank">'
|
||||
+ "their documentation</a> on how to obtain one.",
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue