Hello,
Je ne sais pas si c’est moi qui passe au travers d’une nouvelle config à définir, mais les cartes ne s’affichent plus :
J’ai raté une info de conf’ à modifier ?
Merci
Je me suis fait la même réflexion !
Je l’ai vu dans le site de démo mais pas fait gaffe sur mon instance de prod.
Salut @Sescandell , merci du retour, ça n’a pas trop de lien avec la sortie de la v5, c’est juste tombé pile en même temps, CartoDB ne permet plus d’utiliser ses cartes sans clé d’API
On va juste changer de cartes du coup :
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.
Le rendu reste très proche :
C’est mergé et ça partira aujourd’hui en production