-
I created this function that updates my location on the map when I receive GPS data (FusedLocationProviderClient) approximately every +/- 1 second.
My issue: What I noticed is that if I tap the map, it returns to fluid immediately and then starts again. I tried inserting a |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Try the |
Beta Was this translation helpful? Give feedback.
-
Smooth animation can be done if its duration is similar to GPS location updates. In such cases a Kalman filter could help. |
Beta Was this translation helpful? Give feedback.
-
Thanks Emux. I set the GPS location update request to 1 second. For the Kalman Filter can you tell me how to implement it because I have no idea. |
Beta Was this translation helpful? Give feedback.
Hi Emux,
I solved thanks to your suggestions: