Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refinements for interacting with map in routing mode #194

Merged
merged 2 commits into from
Dec 11, 2015

Commits on Dec 11, 2015

  1. Show resume button only when map is moved

    Verify map is moved a minimum distance before triggering resume button show. Do not show on other motion events.
    ecgreb committed Dec 11, 2015
    Configuration menu
    Copy the full SHA
    cc5c639 View commit details
    Browse the repository at this point in the history
  2. Do not snap map position while panning

    When the user is manually interacting with the map using gestures it should not automatically snap to the current instruction on pager advance. However it should still snap to the current instruction when the user swipes the view pager.
    
    This is achieved by tracking the scroll state of the pager to distinguish changes due to user swipe vs. programatic changes.
    ecgreb committed Dec 11, 2015
    Configuration menu
    Copy the full SHA
    a054c2e View commit details
    Browse the repository at this point in the history