Summary
When Terrastories is configured to use the Protomaps-hosted basemap (via ), the base map renders but no story markers are drawn. Switching the same community/theme over to Mapbox immediately restores marker rendering, which suggests a bug specific to the Protomaps/MapLibre code path.
Environment
- Staging environment (db-upgrade branch)
- Protomaps basemap using valid API key
- Stories present with valid geocoded points
Steps to Reproduce
- Configure a community theme with a valid (MapLibre mode enabled).
- Load the staging app home page.
- Observe that the map tiles load, but no story markers or clusters appear.
- Switch the theme to Mapbox (supply access token + style) and reload the page.
- Observe that markers/clusters now render as expected.
Expected Result
Story markers should render regardless of whether the basemap uses Protomaps or Mapbox, assuming the same stories and geometry data.
Actual Result
With Protomaps the tiles render but marker layers never appear. The browser occasionally logs on a tile request, but the Mapbox configuration does not exhibit this problem.
Notes
- still returns story points, so the GeoJSON payload is present.
- Needs investigation into the Protomaps/MapLibre initialization path (e.g., style load lifecycle vs. the image + layer registration flow).
Summary
When Terrastories is configured to use the Protomaps-hosted basemap (via ), the base map renders but no story markers are drawn. Switching the same community/theme over to Mapbox immediately restores marker rendering, which suggests a bug specific to the Protomaps/MapLibre code path.
Environment
Steps to Reproduce
Expected Result
Story markers should render regardless of whether the basemap uses Protomaps or Mapbox, assuming the same stories and geometry data.
Actual Result
With Protomaps the tiles render but marker layers never appear. The browser occasionally logs on a tile request, but the Mapbox configuration does not exhibit this problem.
Notes