-
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 zooming out with controller.setZoomEased #1867
Comments
This comment has been minimized.
This comment has been minimized.
🤔 |
We might have already addressed these with the newer camera animation interface work in 0.9.7-SNAPSHOT. |
How can I try out 0.9.7-SNAPSHOT? |
To try out the snapshot versions first add the jfrog snapshot repo to your Gradle dependency config: dependencies {
repositories {
maven {
url "https://oss.jfrog.org/libs-snapshot/"
}
}
} And then use the snapshot version in your module dependencies: dependencies {
implementation 'com.mapzen.tangram:tangram:0.9.7-SNAPSHOT'
} Be warned however that this snapshot represents a fairly big version change and there are some major API changes between this version and the last published version. |
Ah, well, it cannot be that much, I will try out the new version and report back. |
Thanks, while you are at it, will also welcome some feedback :D. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hey thanks for the feedback! Some of those bullet points have good answers and others might be reasons to change things:
|
This comment has been minimized.
This comment has been minimized.
Anyway, I tried it out and the flickering as described in this ticket definitely exists in 0.9.7-SNAPSHOT as well. Regarding the first frame being already at the zoom target (mentioned in first reply), this seems to be gone in 0.9.7-SNAPSHOT. |
🙏 Thank you for all the feedback and testing! Seriously, it's high-quality feedback. That flickering is probably a bug in the proxy tile logic - the tiles at the lower zoom level are clearly loaded already, so there should be no visible gap in coverage. |
I haven't been able to reproduce #1772 so far on my smartphone with debuggable libtangram.so, but I noticed that the flickering-problem is much worse then. So, the slower the device, the more apparent this issue. |
Sadly, still same behavior in 0.11.2. However I further analyzed this behavior and found out what triggers it. I opened a new ticket with better information here: #2131 |
While zooming out via
controller.setZoomEased
on Android 5.1 with tangram-es 0.9.6 but possibly since always, the map shows nothing for a few frames at certain zoom levels. When zooming in and out a lot via this method (*cough* StreetComplete), this can become quite disruptive.A video shows more than thousand words: https://www.westnordost.de/misc/zoom-in-zoom-out.mp4
If you skip through here frame-by-frame, you will notice that at certain frames, the map is suddenly empty and in the next frame, everything is as normal again.
I cannot reproduce the issue when I zoom in and out manually (using the zoom gesture with my fingers), even if I do this very fast.
The text was updated successfully, but these errors were encountered: