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

Affix user dot on screen in user tracking mode #3589

Merged
merged 13 commits into from
Jan 20, 2016
Merged

Commits on Jan 20, 2016

  1. [ios] Affix user dot on screen in user tracking mode

    In user tracking mode, keep the user dot in a fixed location on screen, instead easing the map view so that the fixed location corresponds to the new user location. There is one exception: MGLMapView reacts to the first location update the same way as before, so that it appears to move to where the user dot has been all along.
    
    In course tracking mode, weight the user dot down towards the bottom of the view, since it’s more important to see the road ahead than the road behind.
    
    Fixes #2600, and #1041 to some extent.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    453000a View commit details
    Browse the repository at this point in the history
  2. [ios] Fly to user location

    Fly to the user location when entering user tracking mode. Keep user location updates from interfering with the initial flight.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    41ce7b2 View commit details
    Browse the repository at this point in the history
  3. [ios] Leave user location callout open when tracking

    Don’t close the user location annotation’s callout when the user location changes in user tracking mode.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    51be461 View commit details
    Browse the repository at this point in the history
  4. [ios] Eliminated jump after flight to first location

    Don’t update the user location annotation’s coordinates until after the transition to the first reported location is complete.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    2519255 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    867e015 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    59f2c53 View commit details
    Browse the repository at this point in the history
  7. [ios] Keep user dot callout open after user location change

    Outside of user tracking mode, the user dot moves in spurts, so view synchronization performance isn’t an issue.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    35895af View commit details
    Browse the repository at this point in the history
  8. [ios] Non-animated user tracking mode changes

    Calling -setUserTrackingMode:animated: with animated set to NO should jump instantaneously to the first reported location.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    a93e7d7 View commit details
    Browse the repository at this point in the history
  9. [ios] Made user dot position configurable

    The user dot or user puck’s position is now configurable via a new alignment property in any user tracking mode. Also, -setUserTrackingMode:animated: is now exposed publicly, and setting its animated parameter to NO skips the initial animation.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    07c4c54 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    65f6eb2 View commit details
    Browse the repository at this point in the history
  11. [ios] Maintain user tracking, anchor on user dot during zoom, rotate

    Per MapKit behavior, zooming or rotating with a gesture can no longer kick the user out of user tracking mode. In user tracking mode, the zoom animation is always anchored on the user dot, wherever it may be.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    5a00427 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bd46111 View commit details
    Browse the repository at this point in the history
  13. [ios] z14 initially in user tracking mode

    When entering user tracking mode from a low zoom level, zoom in to z14 regardless of the location’s horizontal accuracy.
    1ec5 committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    460b21e View commit details
    Browse the repository at this point in the history