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/