progress display

This commit is contained in:
Matt Walsh
2020-09-08 14:39:17 -05:00
parent 3825397c78
commit 560d3a8cb2
16 changed files with 131 additions and 327 deletions

View File

@@ -5,7 +5,7 @@
// eslint-disable-next-line no-unused-vars
class RegionalForecast extends WeatherDisplay {
constructor(navId,elemId, weatherParameters) {
constructor(navId,elemId) {
super(navId,elemId,'Regional Forecast');
// pre-load background image (returns promise)
@@ -13,12 +13,8 @@ class RegionalForecast extends WeatherDisplay {
// timings
this.timing.totalScreens = 3;
// get the data and update the promise
this.getData(weatherParameters);
}
// get the data from the globally shared object
async getData(weatherParameters) {
super.getData();
// pre-load the base map (returns promise)