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

Flickering on first zoom out after scene load and after changing a map data layer #2131

Closed
westnordost opened this issue Jan 19, 2020 · 1 comment

Comments

@westnordost
Copy link
Contributor

westnordost commented Jan 19, 2020

Summary
Zooming in and out usually looks smooth. However, if you modify a map data layer while being zoomed in, the first time you zoom out again will lead to noticeable flickering of the whole map.

The map then flickers the same way it flickers the first time one zooms out after the scene has been loaded, as if the tiles have not been loaded yet. After that, zooming in and out looks smooth again.

Video here: https://www.westnordost.de/misc/tangram-flicker-2131.mp4

Reproduction

  • add a map data layer via MapController.addDataLayer
  • Zoom in
  • Set any geometry on the map data layer or clear it
  • Zoom out. Doesn't matter if manually via gesture or with an animation.

Result
The whole map flickers

Expected result
The whole map does not flicker

Environment
Tangram Version 0.11.2
Tested on Android Version 5.1.2
Tested on Sony Xperia Z1 Compact

@westnordost
Copy link
Contributor Author

westnordost commented Jan 20, 2020

The issue is fixed with 0.12.0!

However, there is a regression: #2133

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

No branches or pull requests

1 participant