mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-25 16:02:50 +00:00
16 lines
392 B
Markdown
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/
|