current conditions LDL
This commit is contained in:
parent
0a6a31217b
commit
4826801491
14 changed files with 80 additions and 346 deletions
|
|
@ -13,7 +13,9 @@ class LatestObservations extends WeatherDisplay {
|
|||
}
|
||||
|
||||
async getData(weatherParameters) {
|
||||
super.getData();
|
||||
super.getData(weatherParameters);
|
||||
if (!weatherParameters) weatherParameters = this.weatherParameters;
|
||||
|
||||
// calculate distance to each station
|
||||
const stationsByDistance = Object.keys(_StationInfo).map(key => {
|
||||
const station = _StationInfo[key];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue