Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit f8ab53f

Browse files
committed
get an access token instruction
1 parent fda7013 commit f8ab53f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

basic/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ Initialize a map with coordinates set by React, update the state of coordinates
1515

1616
open http://localhost:3000/
1717

18+
### Access token
19+
20+
Replace the [API key](https://docs.mapbox.com/help/getting-started/access-tokens/) in `src/Map.js`.
21+
22+
mapboxgl.accessToken = // YOUR_API_KEY_HERE
23+
1824
Runs the app from http://localhost:3000

0 commit comments

Comments
 (0)