-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Source and Layer update dynamically not working #2433
Comments
I also want to dynamically add lines between markers. Markers can be added dynamically, as data changes, but changing the lines causes the error |
@brecistoptal can't say for sure what is happening with your app but it's unlikely the same issue as the original poster's. Make sure you are following the Source docs recommendation:
If you have any more questions, I suggest you open your own Discussion thread and share your code. |
@manodupont Please specify the map library you are using (e.g. [email protected]) |
@manodupont I read through your code and if I understand, you're creating one
I see you're using |
@chrisgervang Hi thanks for this reply. Its been a while I may not remember but it seemed like when the component was unmounting it was not remounting correctly. Note that I switched library now and I am using TrimbleMaps so I think something might have changed. |
Description
Hi.
I still have issue with react-map-gl to update the Source dynamically. It may be super silly but I can't figure out whats wrong with this approach. Let's say I have multiple "tilesets" that are referenced by an id named
tileName
Expected Behavior
No response
Steps to Reproduce
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: