Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Remove Jitter from UserLocationView #3398

Closed

Description

@tobrun

There are too many updates being fired from the UserLocationView,
probably due to multiple usages of updateOnNextFrame method.

This behaviour is noticeable on a high zoomlevel as seen here.
Will need to perform some traces to see what is actual triggering these multiple updates/redraws.

Activity

  1. added
    Android
    on Dec 23, 2015
  2. added this to the android-v3.1.0 milestone on Dec 23, 2015
  3. tobrun commented on Jan 5, 2016

    @tobrun
    MemberAuthor

    The cause can be found in calling the update method multiple times per second and we are always updating the UserLocationView even if location or bearing hasn't changed.

  4. tobrun commented on Jan 5, 2016

    @tobrun
    MemberAuthor

    This is the result when adding a check for changed LatLng and direction:
    https://www.dropbox.com/s/kwsh0ciih8au7r8/device-2016-01-05-091804.mp4?dl=0

    You can see that the jitter is removed on high zoomlevels.

  5. tobrun commented on Jan 5, 2016

    @tobrun
    MemberAuthor

    This will land when #3397 lands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions