React Map Gl

react-map-gl/maplibre patterns for FMC geo apps: declarative Source/Layer (never addSource/addLayer), MapProvider + useMap(), interactiveLayerIds, flat Source/Layer, map-loaded guard, window.__mainMap debug exposure, Map event handlers (not useEffect), URL map state, initialViewState, cursor, feature state, missing images. Use when building or reviewing Map components, layers, click/hover handlers, setFeatureState, map URL sync, or agent/test map inspection in TanStack Start / Vite apps. Reference implementation: tilda-geo/app.

fixmyberlin c63ff58 16 files · 93.4 KB Updated

File contents

fixmyberlin/tilda-geo/tree/main/.agents/skills/react-map-gl commit c63ff58b9a

Frequently asked questions

npx skillmds@latest add fixmyberlin/react-map-gl