Skip to content

Investigate missing markers on Protomaps basemap #1006

Description

@luandro

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

  1. Configure a community theme with a valid (MapLibre mode enabled).
  2. Load the staging app home page.
  3. Observe that the map tiles load, but no story markers or clusters appear.
  4. Switch the theme to Mapbox (supply access token + style) and reload the page.
  5. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions