Hello,
I don’t know if it’s me who’s missing a new configuration to set up, but the maps are no longer displaying:
Did I miss a configuration info to change?
Thanks
I had the exact same thought!
mutmut
August 27, 2026, 9:20pm
4
I saw it on the demo site but didn’t notice it on my production instance.
Hi @Sescandell , thanks for the feedback, it doesn’t have much to do with the v5 release, it just happened to coincide, CartoDB no longer allows using its maps without an API key
We’re just going to change maps then:
master ← claude/gladys-cartodb-alternative-2mtbp7
ouvert 08:14AM - 28 Aug 26 UTC
### Description
CARTO now watermarks its free raster basemaps with **"API KEY R… EQUIRED"**, which breaks every map in Gladys (maps view, area creation/edit, house location in settings, and the signup house step).
This PR switches the basemap to **[OpenFreeMap](https://openfreemap.org)**, which hosts the exact same open styles CARTO used to serve (Positron for light mode, Dark Matter for dark mode) with:
- **no API key and no registration** — well suited to a fleet of self-hosted instances,
- **public self-hosting instructions** for the full tile stack, should we ever want to host the tiles ourselves,
- the same clean light/dark design as before.
How it works:
- OpenFreeMap serves **vector tiles**, rendered by MapLibre GL **inside the existing Leaflet maps** via the official `@maplibre/maplibre-gl-leaflet` plugin — all markers, circles, tooltips and click handlers are untouched, and `.leaflet-container` (used by Cypress) is unchanged.
- The tile-layer setup is factored into a shared `front/src/utils/mapTileLayer.js` used by the 4 previous CARTO call sites.
- `maplibre-gl` is **loaded on demand** (dynamic import), so the main bundle keeps its previous size (4,870 kB before/after); MapLibre lives in a separate 252 kB gzip chunk fetched only when a map is displayed.
- If WebGL is unavailable, the map falls back to raster OpenStreetMap tiles.
Rendering verified headlessly with the new basemap, light mode:
| Light (positron) | Dark (dark) |
|---|---|
| Positron light style, identical to CARTO `light_all` | Dark Matter style, identical to CARTO `dark_all` |
### Checklist
- [x] Tests pass: no server change; front build passes (`vite build`), Leaflet interactions (markers, circles, click) unchanged for Cypress
- [x] Linter and prettier pass on both front and server (`npm run eslint`, `npm run prettier`) — only pre-existing inline-style warnings remain
- [x] No undocumented breaking change
---
_Generated by [Claude Code](https://claude.ai/code/session_01JSK2MNJrYPfdCRjjnFmKqY)_
## Summary by CodeRabbit
* **New Features**
* Updated map backgrounds with improved light and dark themes.
* Added support for modern vector-based map tiles for enhanced rendering.
* **Bug Fixes**
* Maps now fall back to standard map tiles when advanced rendering is unavailable, improving compatibility across devices and browsers.
* Unified map tile behavior across house configuration, existing maps, and new-area mapping views.
The rendering remains very similar:
It’s merged and it will go to production today