-
Notifications
You must be signed in to change notification settings - Fork 535
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
Error removing layer when using mapbox-gl 0.43.0 #493
Comments
For reproducible example in example/demos, see toggle-layer demo at: jthetzel@4872734 |
Yup I had to deal with this change in ngx-mapbox-gl too (Wykks/ngx-mapbox-gl#10). |
Released with tag |
Odd - I'm still getting this error when using mapbox-gl |
It turns out I was seeing the bug when swapping out tileJSON sources. I opened PR #530 to fix it. |
Published a fix from @redbmk in version |
Mapbox-gl v0.43.0 introduces a breaking change that throws an error if a source is removed while still in use (e.g. remove a source prior to removing layers that use the source, mapbox/mapbox-gl-js#5562 ). This was discovered in #491.
Example error:
The text was updated successfully, but these errors were encountered: