-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
Programmatically-added LineLayer disappears at some zoom levels #3075
Comments
Confirmed. Thank you for the detailed report. I have pushed a reproduction to This bug also happens for legacy. |
Looks like the snapshot is a red herring. Also happens for a normal map. screen-20241210-142312.mp4I have updated 'Snapshot Activity' with the repro as well. |
I tried 10.2.0 and it's the same behavior there. So this is a very old bug. |
Thanks. Wrapping with |
Since this is the same in 10.x, and not a simple change, I expect we'll consider it "as designed" and not something we will try to fix. Bart, Steve, re-open otherwise. |
@TimSylvester Thanks for looking into it. It is definitely a gotcha, but probably not worth fixing since there is a good workaround. |
How about a one-time log warning? |
MapLibre Android Version
11.6.1
Android SDK Version
Android 14
Device
Google Pixel 6a
What happened?
I catch bug when trying generate snapshot with line. The line cutting at specific zoom level. In screenshot, line starts and ends on Android icons.
On zoom 12.9 or lower bug is not repeated.
Bug is repeated on zoom 13.0 or higher.
On zoom 15.0 or higher the line disappears completely.
Also bug repeated only for specific points. For example:
I think the problem repeating only at specific line angles.
Also bug repeated on vulkan version.
Steps to reproduce
Activity code
layout
Renderer
OpenGL (choose this if you are unsure), Vulkan
The text was updated successfully, but these errors were encountered: