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

WebGLBaseTileLayerRenderer causes flickering when source or source key changes. #15595

Open
sweepline opened this issue Feb 28, 2024 · 0 comments · May be fixed by #15596
Open

WebGLBaseTileLayerRenderer causes flickering when source or source key changes. #15595

sweepline opened this issue Feb 28, 2024 · 0 comments · May be fixed by #15596
Labels

Comments

@sweepline
Copy link

sweepline commented Feb 28, 2024

Describe the bug
When using WebGLBaseTileLayerRenderer there is flickering if trying to use source keys to update dimensions smoothly like in the wmts-dimensions example. This is caused by tileRepresentationCache caching based on source key firstly, and secondly because WebGLBaseTileLayerRenderer does not use interimTiles correctly.

This bug report i think reports the same as #15310, but since it was closed I want to reopen it since i have proposed a fix in #15596.

To Reproduce
Steps to reproduce the behavior:

  1. Checkout a5bf075
  2. npm run serve-examples
  3. Go to localhost/examples/webgl-dimensions and change threshold
  4. See the map flickering in between tile loads.

Expected behavior
Same behaviour as localhost/examples/wmts-dimensions and change threshold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant