2019-01-27 12:24:09 -08:00

16 lines
392 B
Markdown

## 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/