Closed CramericaIndustries closed 4 years ago
When I try to initialize the map without Mapbox access token I'm getting this error message:
You should provide a Mapbox GL access token as a token option.
However if you are hosting your own tiles and map styles (like I do), no access token is required by mapbox-gl.js to run.
you can pass any old dummy token you want.
example: https://github.com/Esri/esri-leaflet-vector/blob/8a9b6056b02d17cdfb22d0ffa5fba94e7ea7e45c/src/Util.js#L12-L15
if you want to open a PR to make the parameter optional, it'd be welcome.
Should be fixed with: https://github.com/mapbox/mapbox-gl-leaflet/pull/119
released as v0.0.12
v0.0.12
When I try to initialize the map without Mapbox access token I'm getting this error message:
However if you are hosting your own tiles and map styles (like I do), no access token is required by mapbox-gl.js to run.