current conditions LDL

This commit is contained in:
Matt Walsh
2020-09-25 09:55:29 -05:00
parent 0a6a31217b
commit 4826801491
14 changed files with 80 additions and 346 deletions

View File

@@ -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];