Skip to content

Commit

Permalink
Clarify that token is only needed for mapbox tiles (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
SnailBones committed Nov 9, 2021
1 parent 3b373a0 commit 15abc44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -9,7 +9,8 @@ This is a binding from [Mapbox GL JS](https://www.mapbox.com/mapbox-gl-js/api/)

## Code example
```javascript
var token ="pk.XXXX"; // replace with your Mapbox API Access token. Create a Mapbox account and find it on https://account.mapbox.com/
// replace with your Mapbox API Access token. Only include a token if you will be using Mapbox tiles.
var token ="pk.XXXX";

var map = L.map('map').setView([38.912753, -77.032194], 15);
L.marker([38.912753, -77.032194])
Expand Down

0 comments on commit 15abc44

Please sign in to comment.