-
Notifications
You must be signed in to change notification settings - Fork 240
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
Flickering on first zoom out after clearing map data layer #2133
Comments
Just a clarification: in #2131 it sounded like this started in version 0.12.0, is that the case? |
Seems like a consequence of the changes as part of #2118, possible proxy tiles are holding onto this data. If I understand this correctly, @matteblair I might steal assignee from you. |
I just want to throw in an example how it looks like, running on Android 9: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Zooming in and out usually looks smooth. However, if you clear a map data layer while being zoomed in, the first time you zoom out again will lead to flickering of the features in the map data layer that should have been cleared.
It looks as if the features in the map data layer have not been cleared yet on the different zoom levels and are so only when first entering that zoom level.
I did not test whether this bug only occurs when clearing a map data layer or also when setting (different) features on it.
Video here: https://www.westnordost.de/misc/tangram-flicker-2133.mp4
Reproduction
MapController.addDataLayer
and add a geometry to itResult
The cleared features in the map data layer flicker on zooming out.
Expected result
They do not flicker but are gone right away.
Environment
Tangram Version 0.11.2
Tested on Android Version 5.1.2
Tested on Sony Xperia Z1 Compact
The text was updated successfully, but these errors were encountered: