What's new in v2.6.0
Bug fixes
OSM tiles no longer fail with 403 errors (#88)
OpenStreetMap tiles were intermittently returning 403 responses because no Referer header was being sent. The card renders its map inside a srcdoc iframe, which browsers treat as an opaque about:srcdoc origin — meaning the Referer header is always stripped regardless of any referrer policy. All tile requests now use fetch() with an explicit referrer set to the parent page URL, which OSM's CDN accepts.
OSM subdomain corrected
The tile URL template was cycling through subdomains a, b, c, d. Only a, b, and c exist — d.tile.openstreetmap.org does not resolve. Fixed to use abc only.
New features
Tile retry with exponential backoff
All tile types (basemap, label overlay, RainViewer radar, NOAA WMS radar) now load via fetch(). Failed tiles are automatically retried up to 3 times with increasing delays (500 ms, 1000 ms, 1500 ms) before being marked as failed. This keeps the map usable on flaky connections without user intervention.
Config editor redesign
The card editor has been reorganised into six clearly labelled sections:
| Section | Contents |
|---|---|
| Map | Radar source, map style, zoom level |
| Location | Centre and marker coordinates (lat/lon paired side-by-side) |
| Display | All show/hide toggles; marker icon options appear inline when Show Marker is on |
| Animation | Frame count, delay, restart delay, animated transitions toggle, transition time |
| Mobile Overrides | Mobile-specific coordinates and marker icon |
| Appearance | Card title, custom height and width |
Latitude and longitude fields are now displayed side-by-side, halving the vertical scroll length of the location and mobile override sections. Rarely-used settings (title, dimensions) are at the bottom rather than the top.