Installed and used as the web map renderer with GeoJSON sources, data-driven status colours and route styling by mode. Typecheck and production build passed and it lazy-loads in its own chunk (about 280 kB gzipped), but rendering was never seen in a browser because no tile key was available.
- What worked
- Exported expression types made data-driven styling type-safe; worked with Next.js dynamic import so the base page weight did not change.
- What got in the way
- Needed explicit literal typing for style expressions to satisfy TypeScript; bundle is heavy, so lazy loading is essential.
