Skip to content
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

Avoid missing tiles for Raster source using Tile layers or sources #14853

Merged
merged 2 commits into from Jun 22, 2023

Conversation

ahocevar
Copy link
Member

This pull request fixes an issue with the Raster source, which can be seen in the map at the top of https://openlayers.org/: Sometimes not all tiles of the hillshade are displayed. To see this bug, simple reload the website several times - it will reveal itself eventually.

A second chunk of this change removes an unnecessary layer.changed() call, when we're waiting for an animation of dependent sources to finish.

@github-actions
Copy link

📦 Preview the website for this branch here: https://deploy-preview-14853--ol-site.netlify.app/.

@tschaub
Copy link
Member

tschaub commented Jun 22, 2023

Thanks for digging into this, @ahocevar.

I notice that I still see the elevation tiles not render periodically when refreshing https://deploy-preview-14853--ol-site.netlify.app/. I don’t see any partial rendering (only all/nothing), and I think it appears less frequently with this change. So it looks like an improvement.

@tschaub
Copy link
Member

tschaub commented Jun 22, 2023

With your latest commit, I think I'm always seeing the shaded relief render. Looks good!

@ahocevar
Copy link
Member Author

I think so too. Thanks, @tschaub!

@ahocevar ahocevar merged commit 1051e8a into openlayers:main Jun 22, 2023
8 checks passed
@ahocevar ahocevar deleted the raster-missing-tiles branch June 22, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants