-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize inertia values from drag pan #4851
Comments
|
I guess we want these const values exposed as options. E.g. Leaflet allows their customization. |
@mourner That's what I wanted. 👍 |
Relatedly, on iOS, we abandoned these options in favor of a default inertial pan that lasts about one second regardless of the strength of the gesture (mapbox/mapbox-gl-native#1266), plus a |
Is there any working progress? |
@jinkwon not at this moment, but we'd of course welcome a pull request. |
@mourner OK. ;) |
This was implemented a while back in #8887 |
Hi guys. |
mapbox-gl-js version:
Latest version
Steps to Trigger Behavior
No steps. :)
Expected Behavior
There is no way to customize velocity value.
https://github.com/mapbox/mapbox-gl-js/blob/master/src/ui/handler/drag_pan.js#L153
Actual Behavior
I need options to configure velocity value.
The text was updated successfully, but these errors were encountered: