You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, first thanks for the amazing work, these bindings are extremely useful.
My question is : why does the "source" setting of the mgl layer is only possible at the init time?
There are many use cases where someone would need to change a layer source data according to some logic. Are there some restrictions that would prevent such a use case?
Thanks in advance,
The text was updated successfully, but these errors were encountered:
Afaik, mapbox-gl doesn't provide a way to update the source of a layer. The only way to implement this would be to remove/re-add the layer.
This pattern has proven to cause issues (#139), so it's going to stay like that until mapbox-gl implement a updateLayer method.
Hello, first thanks for the amazing work, these bindings are extremely useful.
My question is : why does the "source" setting of the mgl layer is only possible at the init time?
There are many use cases where someone would need to change a layer source data according to some logic. Are there some restrictions that would prevent such a use case?
Thanks in advance,
The text was updated successfully, but these errors were encountered: