Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

LocationComponent Pulse Graphical Issue #611

Closed
findyourexit opened this issue Oct 26, 2020 · 2 comments · Fixed by #625
Closed

LocationComponent Pulse Graphical Issue #611

findyourexit opened this issue Oct 26, 2020 · 2 comments · Fixed by #625
Assignees

Comments

@findyourexit
Copy link

Upon updating to Maps SDK (for Android) 9.5.0, I've noticed a visual peculiarity occurring when I enable LocationComponent pulsing. The issue is immediately apparent as the pulse does not smoothly "pulse" outward, but rather it pulses to its maximum diameter before flashing solid, and commences again. The bug is not present in Maps SDK (for Android) 9.4.0.

Example that I've used as a foundation for implementing a pulsing LocationComponent:
https://docs.mapbox.com/android/maps/examples/location-component-custom-pulsing/

As a stop-gap solution, I've remained on Maps SDK (for Android) 9.4.0 where the bug is not present.

@matt4321
Copy link

matt4321 commented Nov 17, 2020

I'm getting the same, upgrading to 9.6.0 also contains the bug. The logcat produces the following error:

W/Mbgl: {Worker 3}[Style]: Attempt to set an invalid property value -0.005207)
W/Mbgl: {Worker 3}[Style]: Attempt to set an invalid property value -0.009694)
W/Mbgl: {Worker 4}[Style]: Attempt to set an invalid property value -0.009694)
W/Mbgl: {Worker 4}[Style]: Attempt to set an invalid property value -0.015584)
W/Mbgl: {Worker 2}[Style]: Attempt to set an invalid property value -0.015584)
W/Mbgl: {Worker 3}[Style]: Attempt to set an invalid property value -0.022629)
W/Mbgl: {Worker 2}[Style]: Attempt to set an invalid property value -0.022629)
W/Mbgl: {Worker 3}[Style]: Attempt to set an invalid property value -0.030318)
W/Mbgl: {Worker 1}[Style]: Attempt to set an invalid property value -0.030318)
W/Mbgl: {Worker 4}[Style]: Attempt to set an invalid property value -0.039609)
W/Mbgl: {Worker 4}[Style]: Attempt to set an invalid property value -0.039609)
W/Mbgl: {Worker 1}[Style]: Attempt to set an invalid property value -0.050057)
W/Mbgl: {Worker 2}[Style]: Attempt to set an invalid property value -0.050057)

I did downgrade to 9.4.0 and that seems to work

@Chaoba Chaoba self-assigned this Nov 18, 2020
@Chaoba
Copy link
Contributor

Chaoba commented Nov 18, 2020

Thanks for reporting, I can reproduce this issue locally, will try to fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants