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

[android] - Add touch velocity effects on scale and rotation gesture. #10110

Closed
wants to merge 3 commits into from

Conversation

rooholam
Copy link

@rooholam rooholam commented Oct 3, 2017

Track fingers velocity for scale and rotation gesture.

ezgif com-optimize 1

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Oct 5, 2017
@tobrun
Copy link
Member

tobrun commented Oct 5, 2017

@rooholam thank you for this contribution, putting on my radar to review, this is definitely an UX that we are considering to add (similar for rotation and other gestures).

@rooholam rooholam changed the title [android] - Add touch velocity effects on scale gesture. [android] - Add touch velocity effects on scale and rotation gesture. Oct 9, 2017
@rooholam
Copy link
Author

rooholam commented Oct 9, 2017

@tobrun I committed codes for rotating gesture too.
Hope you find it useful.

@tobrun
Copy link
Member

tobrun commented Oct 10, 2017

@rooholam tested this out and this is a great start! We might need to fine-tune a couple of things before we will merge this (eg. the focal point used when the velocity animation starts) but thank you for this contribution! Note we might bring this functionality at the same time as we replace the animations with Android SDK animators.

@tobrun
Copy link
Member

tobrun commented Oct 16, 2017

I've pulled in the changesd in #10202 and work further from there to integrate these changes in the SDK. Thanks again for the contribution.

@tobrun tobrun closed this Oct 16, 2017
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.

2 participants