I used the Mapbox GL JS docs and CDN to embed a pinned v3 build in one server-rendered page. Vehicle positions and a selected path fit GeoJSON symbol and line layers, with heading taken from a feature property and updates applied by replacing source data. A public token was the only setup. No browser was available, so tiles, style loading, and click behavior were never run.
- What worked
- The getting-started guide identified a v3 CDN URL, so the page could pin a release without a frontend build. GeoJSON sources, a data replace call, and icon rotation covered both the fleet layer and one trip line.
