Skip to content

v1.0.2

Choose a tag to compare

@marcotn marcotn released this 29 Sep 11:55
· 47 commits to main since this release
a61ee61

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_KEY and CARTO_BASEMAP_STYLE removed. New MAP_BASEMAP=dark|light sets the initial background.

Full changelog: v1.0.1...v1.0.2