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

[android] Revise handling of tracking modes and interactions with touch gestures. - #6569

Closed
clydebarrow wants to merge 1 commit into
mapbox:masterfrom
clydebarrow:trackingfixes
Closed

clydebarrow wants to merge 1 commit into
mapbox:masterfrom
clydebarrow:trackingfixes

Conversation

@clydebarrow

Copy link
Copy Markdown
Contributor

This fixes issues #6549 and #6567. Also pertinent to #6557.
Additional code has been added to the test app (Activity "User Tracking
Mode") to test.
A potential race condition in the MapboxMap#easeCamera() methods where
a camera change generated by tracking which could have reset the tracking
modes has been eliminated by factoring out a new method
MapboxMap#easeCameraInternal().

with touch gestures.

This fixes issues #6549 and #6567. Also pertinent to #6557.
Additional code has been added to the test app (Activity "User Tracking
Mode") to test.
A potential race condition in the MapboxMap#easeCamera() methods where
a camera change generated by tracking which could have reset the tracking
modes has been eliminated by factoring out a new method
MapboxMap#easeCameraInternal().
@mention-bot

Copy link
Copy Markdown

@clydebarrow, thanks for your PR! By analyzing the history of the files in this pull request, we identified @tobrun, @cammace and @ljbade to be potential reviewers.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Oct 4, 2016
@tobrun tobrun self-assigned this Oct 4, 2016
@tobrun

tobrun commented Oct 4, 2016 •

Copy link
Copy Markdown
Member

This is looking pretty great so far!

Could you add one more thing?
In the test app when you rotate the device, the tracking modes are currently lost.
This would be handy for reviewing your code.

update: was mixing up your branches, reviewing now

@tobrun

tobrun commented Oct 4, 2016

Copy link
Copy Markdown
Member

I pulled in the changes from the fork and pushed them to this repo so our CI tests can run. I created a follow up PR in #6572. I changed the way the public API is exposed. Thank you for contributing! Closing this in favor of #6572.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants