mirror of
https://github.com/visgl/react-map-gl.git
synced 2025-12-08 20:16:02 +00:00
Example: Heatmap layer
This example showcases how to add a heatmap similar as described in https://docs.mapbox.com/mapbox-gl-js/example/heatmap-layer/.
How to run heatmap layer example?
Install dependencies (only once)
npm i
and run example
MapboxAccessToken={YOUR_MAPBOX_TOKEN} npm run start-local
which will open and point your browser to http://localhost:8081/