-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
compatible with react-mapbox-gl-draw v. 4+ ? map.getStyle error #34
Comments
This library should be compatible with all version |
Thanks for double checking that it's compatible. I updated the dependencies but it still isn't working because it is trying to call |
Hmm, this is weird, I cannot reproduce this. Can you create a demo project? On codesanbox.io or on another github project? |
Yeah let me try a sandbox and I'll send you the link. I'm looking through the issue you posted on react-mapbox-gl first to see if it gives me any ideas, but will keep you updated! I appreciate the help |
@amaurymartiny I'm not sure if this helps, but as soon as I surround |
Hmm, like this I'm not sure I can help. If you have a reproducible example, I'm more than happy to dig into it. This might or might not help you: alex3165/react-mapbox-gl#691 (comment), I don't know if it's related to your issue. |
Yeah, I understand that there's not much to do if I can't reproduce it. It seems like this comment on your past issue seems related to my issue. I might reach out to him and see if he got it to work. I appreciate your help though! |
@amaurymartiny If i'm able to strip all the junk from my code and send it to you in an email, would you be willing/have the time to look at it quickly? I'm curious because I just stripped everything useless and I'm still running into the issue edit: I can also post it here. It's very little code. The good thing is that now I know that none of my other code is causing issues - it might be my environment. |
Sure, that sounds good. Or even better, just create a new github repository, so that i can |
Will do. Dumb question first: I've been using |
Both should work equally well, i just have a personal preference for yarn |
So just to let you know: i never figured out the error and decided to try one last thing before the github repo. I added a Either way, thanks for your help trying to work through the issue! |
Hi all, I am using
react-mapbox-gl 4.5.1
andreact-mapbox-gl-draw 2.0.1
. Referencing this issue and this feature, it seems likereact-mapbox-gl-draw
is now compatible withreact-mapbox-gl
version 4+, but I am running into issues when I try to implement the demo. If it is compatible, I would appreciate any help debugging the following error!Here's my code, and the error is below:
And here is the error:
Does anyone have an idea as to why my application crashes right before the map mounts? Thanks!
The text was updated successfully, but these errors were encountered: