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

Tweak iOS gestures to be more user tracking friendly #1436

Closed
friedbunny opened this issue May 5, 2015 · 1 comment
Closed

Tweak iOS gestures to be more user tracking friendly #1436

friedbunny opened this issue May 5, 2015 · 1 comment
Labels
GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS
Milestone

Comments

@friedbunny
Copy link
Contributor

Here are some friendly changes we can make to how gestures affect user tracking modes.

When tracking with any MGLUserTrackingMode...:

  • don't allow panning during pinch-zooms (maintain tracking mode)
  • only allow rotation during pinch-zooms

When tracking with MGLUserTrackingModeFollowWithHeading:

  • rotation should bump down to simple tracking, not disable it entirely

This is generally how MapKit works and it seems sensible to emulate here.

Related to #1434 allow simultaneous pinch & pan on iOS.

@incanus incanus added GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS labels Jul 27, 2015
@friedbunny friedbunny added this to the ios-v3.1.0 milestone Jan 25, 2016
@friedbunny
Copy link
Contributor Author

We're good here with v3.1.0 — #3589 and #3680.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
GL JS parity For feature parity with Mapbox GL JS iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

2 participants