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.

Too much drift pan resistance at z0–z1 #3655

Closed

Description

@1ec5

At z0 and z1, if you flick the map, it gets caught on something and even bounces back. Possibly related to #3588.

/cc @friedbunny

Activity

  1. added
    iOS
    on Jan 21, 2016
  2. added
    Android
    on Jan 25, 2016
  3. tobrun commented on Jan 25, 2016

    @tobrun
    Member

    FWIW noticing this on Android as well, adding Android label.

  4. 1ec5 commented on Jan 25, 2016

    @1ec5
    ContributorAuthor

    Maybe it’s related to the call to unwrapLatLng() that I added in #3497. But it seems to work just fine for flyTo() (#3355).

  5. friedbunny commented on Jan 25, 2016

    @friedbunny
    Contributor

    Another case of panning "bouncing back" is when the map is tilted and you drag downward on the top forcefully — the map will shoot downward, rather than upward.

  6. added this to the ios-v3.2.0 milestone on Jan 29, 2016
  7. tobrun commented on Mar 6, 2016

    @tobrun
    Member

    we should maybe take the time to git bisect this issue to pinpoint it to a specific commit?

  8. tobrun commented on Mar 12, 2016

    @tobrun
    Member

    I was able to pinpoint it to this commit.

    d26b956a48dc2da9333b40d8d2c4371c63b372a2 is the first bad commit
    commit d26b956a48dc2da9333b40d8d2c4371c63b372a2
    Author: Minh Nguyễn <[email protected]>
    Date:   Sun Jan 10 17:28:21 2016 -0800
    
        [core] Cleaned up Transform
    
        Eliminated many redundant methods on Transform. Minimized usage of TransformState::x and TransformState::y. Added convenient constructors for AnimationOptions. When scaling, passing in view’s origin as the anchor no longer anchors the scaling operation at the view’s center. To specify no anchor, use NaN.
    
        Increased precision of worldSize(), now that it’s used much more heavily in transform methods.
    
    :040000 040000 8f0b3b83dabb79ade17c755ba2937739429665ac 02de4fae20c3c2ed0bc85ebaaf9efe3e85f5f595 M  include
    :040000 040000 183164f0f4d4ffd934d838d6e136af4d1780797f a3ebc9aeece1bcbdca2c3be0df87b54a86524d1d M  platform
    :040000 040000 4f0133c1a47c3e37cff1af2606a64dfdeee6c68a 56b71bce1645fc572926fef5031b6c14958cf4d2 M  src
    
    
  9. 1ec5 commented on Mar 12, 2016

    @1ec5
    ContributorAuthor

    This was fixed in #4214.

  10. tobrun commented on Mar 12, 2016

    @tobrun
    Member

    gif-keyboard-12488273348198164312

  11. tobrun commented on Mar 13, 2016

    @tobrun
    Member

    I retested on master with d64652f, still an issue. See an example here.

  12. reopened this on Mar 13, 2016
  13. removed
    iOS
    on Mar 13, 2016
  14. 1ec5 commented on Mar 13, 2016

    @1ec5
    ContributorAuthor

    I don’t have access to that video, but I can’t reproduce the original issue in a980f72 on iOS or OS X. Maybe what you’re seeing is unrelated?

  15. tobrun commented on Mar 13, 2016

    @tobrun
    Member

    I just saw a difference between what I had seen during git bisecting and what we have now on master. Thinking a bit more about this I don't feel this is worth putting more time into. There are other priorities that are more important. Going to close.

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

    Androidbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions