mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 00:59:29 -07:00
page delivery tweaks
This commit is contained in:
@@ -52,7 +52,7 @@ class Radar extends WeatherDisplay {
|
||||
}
|
||||
|
||||
// get the base map
|
||||
const src = 'images/maps/radar.jpg';
|
||||
const src = 'images/maps/radar.webp';
|
||||
this.baseMap = await loadImg(src);
|
||||
|
||||
const baseUrl = 'https://mesonet.agron.iastate.edu/archive/data/';
|
||||
|
||||
@@ -28,7 +28,7 @@ class RegionalForecast extends WeatherDisplay {
|
||||
// there are enough other cities available to populate the map sufficiently even if some do not load
|
||||
|
||||
// pre-load the base map
|
||||
let baseMap = 'images/maps/basemap.png';
|
||||
let baseMap = 'images/maps/basemap.webp';
|
||||
if (weatherParameters.state === 'HI') {
|
||||
baseMap = 'images/maps/radar-hawaii.png';
|
||||
} else if (weatherParameters.state === 'AK') {
|
||||
|
||||
Reference in New Issue
Block a user