-
Notifications
You must be signed in to change notification settings - Fork 22.9k
d3.behavior.{zoom,drag} should pan with inertia #2096
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
Comments
Couple of questions:
I think the answer is probably yes to both of these. |
Agreed. I think the configurable inertia is effectively a drag coefficient. |
+1, I would want to set on/off and friction |
@mbostock have you seen the implementation of inertial drag behavior here? http://bl.ocks.org/pjanik/5872514 |
I add a transition() on zoom callback and voilà. |
Most slippy map interfaces now use inertia, so we should too.
The text was updated successfully, but these errors were encountered: