-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to include react-map-gl in Gatsby #19263
Comments
This starter is also using map-gl: |
@michael it also has a no token warning issue on there demo page :)
…On Mon, Nov 4, 2019 at 11:36 PM Michael ***@***.***> wrote:
This starter is also using map-gl:
#19250 <#19250>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#19263?email_source=notifications&email_token=ACPMK7P4A3VGHB4PZ4FCORTQSEH6JA5CNFSM4JI4M37KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDBX57Q#issuecomment-549682942>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACPMK7NMQ75BDWGJPJFOYELQSEH6JANCNFSM4JI4M37A>
.
|
ok :( |
Thank you for opening this! Please have a look at issues like #6667 or this starter: https://github.com/brendan-ward/gatsby-starter-mapbox We're marking this issue as answered and closing it for now but please feel free to comment here if you would like to continue this discussion. We also recommend heading over to our communities if you have questions that are not bug reports or feature requests. We hope we managed to help and thank you for using Gatsby! |
and if you find a solution how you fixed your issue it would be nice to see your solution |
I figured out the issue, The only thing I changed was how i named the env variable inside Netlify. |
Thx. In your code or in netlify settings. is it described here: https://www.gatsbyjs.org/docs/environment-variables/ ? Or here: https://www.gatsbyjs.org/docs/deploying-to-netlify/ ? Or is there something missing so An PR can improve the docs? |
Interesting, Thanks for this. |
I am looking to see how I can include this library in a gatsby app.
I have it working in development but the mapbox is not loading in production, with the issue being No Token Warning.
If anyone has any experience including a mapbox map inside Gatsby I can help me out, it would be greatly appreciated.
I have added the environment variable to Netlify like usual.
My repo where I am using MapBox is : https://github.com/arhoy/fashion-two
I was not able to find any mapbox related plugin in Gatsby currently
The text was updated successfully, but these errors were encountered: