This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commits on Apr 17, 2015
-
Replaced the complex formula for overpanning with a simple one that makes the map feel much slipperier than before. `MGLMapView` now overpans just a little more aggressively than `MKMapView` but still a lot less aggressively than Google Maps. Fixes #1266.
Configuration menu - View commit details
-
Copy full SHA for 2bc63f7 - Browse repository at this point
Copy the full SHA 2bc63f7View commit details
Commits on Apr 18, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 09c169d - Browse repository at this point
Copy the full SHA 09c169dView commit details
Commits on Apr 19, 2015
-
Apply some friction to pan drift
When the panning velocity is low enough, ignore the pan gesture to simulate friction on the device’s glass screen.
Configuration menu - View commit details
-
Copy full SHA for 4c6987b - Browse repository at this point
Copy the full SHA 4c6987bView commit details -
Added drift-zooming effect after pinch gesture
Apply a subtle animated zoom after a pinch gesture completes. Lots of magic numbers involved. Avoid drifting when the pinch is near-static, and when the scale factor would go below the minimum. There is more resistance to pinching outward than pinching inward, because it’s far easier to lose your place when you accidentally zoom out. Disabled two-finger pan, which is typically reserved for changing pitch; otherwise, it’s easy to accidentally pan while intending to pinch.
Configuration menu - View commit details
-
Copy full SHA for 41d28e7 - Browse repository at this point
Copy the full SHA 41d28e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33aeece - Browse repository at this point
Copy the full SHA 33aeeceView commit details -
Simplified math for drift-rotation
fmodf() would conflict with the fix for #1199.
Configuration menu - View commit details
-
Copy full SHA for fae0c4c - Browse repository at this point
Copy the full SHA fae0c4cView commit details
Commits on Apr 20, 2015
-
Lower threshold for rotation drift
It’s pretty darn hard to get up to 5 rad/s with the same two fingers.
Configuration menu - View commit details
-
Copy full SHA for 0aadbed - Browse repository at this point
Copy the full SHA 0aadbedView commit details
Commits on May 1, 2015
-
Configuration menu - View commit details
-
Copy full SHA for cf33edf - Browse repository at this point
Copy the full SHA cf33edfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e6bf19 - Browse repository at this point
Copy the full SHA 5e6bf19View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.