-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Android: Location puck switch icon on rotating camera #2879
Comments
I'm having the exact same problem but it's only reported in 11.5. (11.1 seems to not have this issue) |
The VAO of the Drawable is changing which means we're running vertex input commands outside the drawable that are affecting the bound VAO. |
@alasram Could you make a PR? |
Does merging #2957 close this issue? |
I could not repro the issue with 11.6.1. Let's wait for confirmation of @Fabi755 as well. |
Is fixed. Works well with |
Describe the bug
We have a really strange behavior of the location icon. And I am at the end of my ideas.
I'm currently working on upgrading the MapLibre navigation to v11. After upgrade (from v11.0.2-pre0) to v11.1.0 (and above) the location puck gets flickering by rotating. After more research we found out that the icon goes to the
maplibre_user_stroke_icon
drawable. The puck is going back to the right drawable, when zoom in/out, or update the location.The
maplibre_user_stroke_icon
is used by two styles (maplibre_backgroundDrawable
&maplibre_backgroundDrawableStale
). Changing the styles has no effect to displayed icon in my tests.I can't see this issue on the sample app (build from source). But I see this issue also in a new project from scratch. I can't see this issue on my Emulator running on a Mac.
To Reproduce
Steps to reproduce the behavior:
maplibre_user_stroke_icon
)(Use the enable/disable) button to see the stroke-icon state, without location updates. If disabled, only zoom in/out goes back to the GPS puck.
Expected behavior
Icon should not changed to the stroke icon, and the GPS puck should always showed.
Screenshots
maplibre-issue-sample.mp4
Platform information (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: