2021-01-15 13:09:55 -08:00
..
2021-01-15 13:09:55 -08:00
2019-02-20 13:23:29 +00:00
2019-02-20 13:23:29 +00:00
2020-12-16 20:43:50 -08:00

Example: Locate User

Demonstrates how to automatically locate the user and track their current location with react-map-gl.

Usage

To run this example, you need a Mapbox token. You can either set it as MAPBOX_TOKEN in src/app.js, or set a MapboxAccessToken environment variable in the command line.

npm i
npm run start