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

Ensure correct spin direction #1295

Merged
merged 1 commit into from
Apr 20, 2015
Merged

Ensure correct spin direction #1295

merged 1 commit into from
Apr 20, 2015

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Apr 19, 2015

Ported mapbox/mapbox-gl-js#821 as well as util.wrap() from mapbox-gl-js.

Fixes #1199.

/cc @mourner

Ported mapbox/mapbox-gl-js#821 as well as `util.wrap()` from mapbox-gl-js.

Fixes #1199.
@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS labels Apr 19, 2015
@1ec5 1ec5 added this to the iOS Beta 1 milestone Apr 19, 2015
@1ec5 1ec5 mentioned this pull request Apr 19, 2015
3 tasks
@friedbunny
Copy link
Contributor

Awesome, thanks for grabbing this one. 💫

kkaefer added a commit that referenced this pull request Apr 20, 2015
Ensure correct spin direction
@kkaefer kkaefer merged commit 2831073 into master Apr 20, 2015
@kkaefer kkaefer deleted the 1199-whee branch April 20, 2015 10:01
1ec5 added a commit that referenced this pull request May 6, 2015
#1295 made #1199 a lot less common, but it was still possible for the map to do a full 180° when drift-rotating past due-south. With this change, the map is atomically rotated to a bearing in the same cycle as the final bearing.

/cc @friedbunny
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Heading-tracking mode takes the long way around
3 participants