page delivery tweaks

This commit is contained in:
Matt Walsh
2025-05-20 22:10:13 -05:00
parent 834d68f9e3
commit 101d0ac9ea
26 changed files with 18 additions and 52 deletions

View File

@@ -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/';

View File

@@ -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') {