Skip to content
This repository was 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
rooholam wants to merge 3 commits into
mapbox:masterfrom
rooholam:10107-scale-gesture-velocity
Closed

rooholam wants to merge 3 commits into
mapbox:masterfrom
rooholam:10107-scale-gesture-velocity

Conversation

@rooholam

@rooholam rooholam commented Oct 3, 2017 •

Copy link
Copy Markdown

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

tobrun commented Oct 5, 2017

Copy link
Copy Markdown
Member

@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

rooholam commented Oct 9, 2017

Copy link
Copy Markdown
Author

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

@tobrun

tobrun commented Oct 10, 2017

Copy link
Copy Markdown
Member

@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

tobrun commented Oct 16, 2017

Copy link
Copy Markdown
Member

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