-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Affix user dot on screen in user tracking mode #3589
Commits on Jan 20, 2016
-
[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.
Configuration menu - View commit details
-
Copy full SHA for 453000a - Browse repository at this point
Copy the full SHA 453000aView commit details -
Fly to the user location when entering user tracking mode. Keep user location updates from interfering with the initial flight.
Configuration menu - View commit details
-
Copy full SHA for 41ce7b2 - Browse repository at this point
Copy the full SHA 41ce7b2View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 51be461 - Browse repository at this point
Copy the full SHA 51be461View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 2519255 - Browse repository at this point
Copy the full SHA 2519255View commit details -
Configuration menu - View commit details
-
Copy full SHA for 867e015 - Browse repository at this point
Copy the full SHA 867e015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59f2c53 - Browse repository at this point
Copy the full SHA 59f2c53View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 35895af - Browse repository at this point
Copy the full SHA 35895afView commit details -
[ios] Non-animated user tracking mode changes
Calling -setUserTrackingMode:animated: with animated set to NO should jump instantaneously to the first reported location.
Configuration menu - View commit details
-
Copy full SHA for a93e7d7 - Browse repository at this point
Copy the full SHA a93e7d7View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 07c4c54 - Browse repository at this point
Copy the full SHA 07c4c54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65f6eb2 - Browse repository at this point
Copy the full SHA 65f6eb2View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 5a00427 - Browse repository at this point
Copy the full SHA 5a00427View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd46111 - Browse repository at this point
Copy the full SHA bd46111View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 460b21e - Browse repository at this point
Copy the full SHA 460b21eView commit details