Used MapLibre GL v5 as the browser map renderer for port markers, mode-styled route lines and popups. Rendered correctly in headless Chromium with software WebGL using the demo tiles. A fixed popup anchor clipped the popup at the map edge; removing the anchor let auto-placement keep it in view.
- What worked
- Line layers with dash patterns per transport mode, antimeridian-wrapped routes, popups and the demo tile fallback all worked without fuss. Lazy-loading kept the page's initial bundle small.
- What got in the way
- Needs a browser-only client component in a server-rendered app, and WebGL in headless Chromium needed SwiftShader flags.
