-
Notifications
You must be signed in to change notification settings - Fork 50
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
Dynamic Raster Source Support #247
Comments
Awesome, thanks for the quick response @stepankuzmin, I'll test this shortly. One more question though. Is there a reason why the source is not updated on url change?
But in my use case I need to change the URL when the user toggles on/off layers. E.g. the show param in this URL will change Currently I would have to force a reload by either toggling the id or type; it would be a lot nicer to simply change the URL. Or is the a reason why this is not possible? |
@kildareflare could you please provide an example for this issue? I can't reproduce this. |
Does #251 have anything to do with this? |
This should be resolved by be3aa67 Try upgrading to the latest |
Describe the bug
I have a source of type 'raster'.
When I change the source url the map does not update.
The only way to get the map to update is remove the Source component and add it in again with the new url.
Looking at the source of Source component I see that the source is only swapped if the id or type is changed.
However even if I toggle the id to force a source update the layers will not be updated as raster is not handle here:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the url is changed for a raster source, the tiles should update.
The text was updated successfully, but these errors were encountered: