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.

While panning, location indicator wiggles significantly more on android compared to iOS (Android). #1676

Closed

Description

@mb12

Filing this issue for tracking purposes.
While panning, location indicator wiggles a lot more on Android compared to iOS. Maybe whatever changes were done for the following needs to be migrated for Android as well.

#1439

Activity

  1. 1ec5 commented on Jun 2, 2015

    @1ec5
    Contributor

    #1439 was duped to #1125, which is still open. #1582 will get us to parity with MapKit by using Core Animation. Does Android have anything similar?

  2. added
    Android
    on Jun 2, 2015
  3. ljbade commented on Jun 4, 2015

    @ljbade
    Contributor

    @1ec5 there is currently no filtering of the compass data. It is updating the screen as frequently as we get sensor data. We need to implement some sort of rate limit or other data filtering.

  4. added this to the milestone on Jun 4, 2015
  5. 1ec5 commented on Jun 4, 2015

    @1ec5
    Contributor

    Would it be necessary to throttle the user location updates if the user dot animated to each location instead of blitting there?

  6. ljbade commented on Jun 4, 2015

    @ljbade
    Contributor

    The compass and GPS locations are separate data sources. Android already limits location to once a second so we need to do something similar with the compass.

  7. ljbade commented on Aug 13, 2015

    @ljbade
    Contributor

    This is still a problem even after @bleege recent changes.

    @incanus How did you speed up the map/location marker sync?

  8. erf commented on Aug 13, 2015

    @erf
    Contributor

    @ljbade i created a pull request now #2065 regarding compass filtering. but after i had added the filtering like in a previous pull request, i saw that the FAB does not toggle into Follow mode. I guess @bleege is in the middle of some refactoring here, but would be nice if the filtering could be included if you test that it is ok. Thanks.

  9. incanus commented on Aug 19, 2015

    @incanus
    Contributor

    We need to insert the routine which updates the user dot's location on screen between these two lines:

    map.renderSync();
    map.nudgeTransitions();

    Per #1125, renderSync draws the current GL frame, then nudgeTransitions updates the Transform, which affects any subsequent geo/screen conversions. If the user dot placement happens not between those two, it is using a Transform for the placement conversion that is not in sync with the GL draw.

  10. ljbade commented on Aug 20, 2015

    @ljbade
    Contributor

    @incanus Aha! Thanks for that pointer! I'm going to figure this one out

  11. bleege commented on Aug 31, 2015

    @bleege
    Contributor

    Bumping to 0.2.0.

    @ljbade Any progress on this?

  12. modified the milestones: , android-v0.1.0 on Aug 31, 2015
  13. ljbade commented on Sep 1, 2015

    @ljbade
    Contributor

    @bleege not yet, will pick this up after 0.1.0

  14. incanus commented on Sep 4, 2015

    @incanus
    Contributor

    When we clean this up to be driven by frame updates (building on #2255), we should be sure to clean this stuff up:

    I think the idea with updateMap() on Java side was related to triggering the UI to fetch updated GPS coordinates and update the location of the GPS marker dot (it made sense at the time to use same code for map pan/zoom updates).

  15. self-assigned this
    on Sep 24, 2015
  16. added a commit that references this issue on Sep 24, 2015
    85ec3eb
  17. added a commit that references this issue on Nov 6, 2015
    8c75234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Androidbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions