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

When map is tilted, vertical panning drifts in reverse #5292

Open
friedbunny opened this issue Jun 9, 2016 · 8 comments
Open

When map is tilted, vertical panning drifts in reverse #5292

friedbunny opened this issue Jun 9, 2016 · 8 comments
Labels
archived Archived because of inactivity bug gl-ios iOS Mapbox Maps SDK for iOS UX

Comments

@friedbunny
Copy link
Contributor

Platform: iOS, but perhaps also Android (#5281)
Mapbox SDK version: iOS master as of 685d238 (~v3.3.0b1)

Steps to trigger behavior

  1. Perform a rapid upward or downward swipe/flick on a tilted map.

Easier to observe at lower zoom levels (~z3-4) because of tile loading, but this exists on all zoom levels.

Expected behavior

The map should move with the finger and continue in that direction after the gesture has been released.

Actual behavior

The map quickly rebounds in the opposite direction of the gesture. This GIF shows a downward swipe, inappropriately rebounding to the south. Originally mentioned back in #3655 (comment).

ezgif com-optimize

/cc @1ec5

@friedbunny friedbunny added bug iOS Mapbox Maps SDK for iOS labels Jun 9, 2016
@1ec5 1ec5 changed the title Too much drift pan resistance on vertical swipes When map is tilted, vertical panning drifts in reverse Jun 9, 2016
@mb12
Copy link

mb12 commented May 19, 2017

At higher zoom levels, this bug manifests itself by taking map to a random position upon pan when tilted. Reproduces very easily on iPhone 6S in the preview app even with a gentle swipe.

@mb12
Copy link

mb12 commented May 19, 2017

Easily Reproducible in GL JS as well on Chrome (OSX).

  1. Tile the map with Shift + up-arrow key.
  2. Use mouse to swipe up diagonally.

https://www.mapbox.com/mapbox-gl-js/examples/

@friedbunny
Copy link
Contributor Author

Still reproduces in 3.7.x and 4.0.0 betas.

@stale
Copy link

stale bot commented Jan 17, 2019

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed Jan 17, 2019
@friedbunny friedbunny reopened this Jan 17, 2019
@stale stale bot removed the archived Archived because of inactivity label Jan 17, 2019
@stale stale bot added the archived Archived because of inactivity label Jul 16, 2019
@stale
Copy link

stale bot commented Jul 16, 2019

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed Jul 16, 2019
@friedbunny
Copy link
Contributor Author

Still a readily reproducible issue.

@friedbunny friedbunny reopened this Jul 17, 2019
@stale stale bot removed the archived Archived because of inactivity label Jul 17, 2019
@stale stale bot added the archived Archived because of inactivity label May 20, 2020
@stale
Copy link

stale bot commented May 22, 2020

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed May 22, 2020
@1ec5 1ec5 reopened this May 29, 2020
@stale stale bot removed the archived Archived because of inactivity label May 29, 2020
@kjkrum
Copy link

kjkrum commented May 29, 2020

Please disable the stale bot. Google's habit of closing bugs just because they're old is the #1 reason Google Maps turned into bug-ridden garbage and opened the door for Mapbox to become the best in the business. Don't be like Google.

@stale stale bot added the archived Archived because of inactivity label Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived Archived because of inactivity bug gl-ios iOS Mapbox Maps SDK for iOS UX
Projects
None yet
Development

No branches or pull requests

5 participants