Closed wakywayne closed 2 years ago
As the log shows, your access token has extra double quotes ("
) around it.
@Pessimistress Where do you see that in the logs? Sorry if I am being an idiot. That's what I had in development. How come it works there?
Hard to say since that's part of your environment configuration.
You can log process.env.NEXT_PUBLIC_MAPBOX_TOKEN
and check its value.
Please use Discussions if you need further help with your own setup. Issues are for bugs in the library.
Description
My map Is Not Loading The Styles In Production.
Expected Behavior
On Local Host:
In Production:
Steps to Reproduce
Here is App Component
allEvents is just javascript Array of Object as provided Example Below
Array of Events:
NewMapBoxMap
Environment
Logs