Repository navigation
v1.0.2
OpenFreeMap basemap
- CARTO replaced with OpenFreeMap vector tiles: no API key, no usage limits. CARTO's free tier would have run out at about 80k visits a month, and its key was visible in the page source. (#7)
- Drawn with MapLibre GL 5 under Leaflet. Place labels sit above the pollution cells and follow the page language (Milano / Milan); road names and shields are gone; in the dark style labels are brighter and roads dimmed.
- Fewer requests for the basemap: ~10 per visit instead of ~70.
Gzip
- Responses are now compressed: pages −71/73%, grid API −81%, series API −89%. (#6)
Configuration
CARTO_API_KEYandCARTO_BASEMAP_STYLEremoved. NewMAP_BASEMAP=dark|lightsets the initial background.
Full changelog: v1.0.1...v1.0.2