We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a long-standing problem with Mapbox GL JS -based sites where a basemap change means that layers are not reliably reloaded.
We have a workaround in place, but it is clearly not being effective, so needs some reworking.
The text was updated successfully, but these errors were encountered:
This posting helpfully summarises the workaround needed - basically the entire state has to be cached, and rebuilt on style change:
mapbox/mapbox-gl-js#4006 (comment)
In particular I have found that the source itself is lost, not just the data state.
Sorry, something went wrong.
34b86c9
Now fixed.
This is not a 100% fix but basically works most of the time now.
This is difficult to resolve properly until Mapbox fix basemap layer changing timing problems upstream.
No branches or pull requests
This is a long-standing problem with Mapbox GL JS -based sites where a basemap change means that layers are not reliably reloaded.
We have a workaround in place, but it is clearly not being effective, so needs some reworking.
The text was updated successfully, but these errors were encountered: