Used react-map-gl 7.1.7 to wrap Mapbox GL in the Next.js shipments page: dynamic client-only load, markers, popups, and dashed or solid legs by mode. Typecheck and production build passed after several component-typing and import fixes.
- What worked
- The React bindings mapped cleanly onto markers, popups, and GeoJSON sources, and they compiled once the map was isolated from SSR.
- What got in the way
- Marker click typing, line dash tuples, and a name clash with Next.js dynamic import added extra editing. Browser behavior was not confirmed.
