We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://www.mapbox.com/mapbox-gl-js/api/#AnimationOptions says:
easing (Function) : The animation's easing function.
But it doesn't say what arguments will be passed, nor what it should return.
I took a punt that it might be f(t, b, c, d) (from here) but that didn't seem to be right.
The text was updated successfully, but these errors were encountered:
Ok, it looks like it's just f(t), where t is between 0 and 1, and you return a value between 0 and 1.
f(t)
It's redundantly referred to at https://www.mapbox.com/mapbox-gl-js/api/#Map#flyTo as well.
Sorry, something went wrong.
Correct! Want to submit a PR that improves the docs on this?
Yeah, seems like something I could do - especially since you have such wonderful meta-documentation.
Clarify easing function requirements and clean up references to Anima…
a3be1a5
…tionOptions. Fixes mapbox#4182.
1e513a4
No branches or pull requests
https://www.mapbox.com/mapbox-gl-js/api/#AnimationOptions says:
But it doesn't say what arguments will be passed, nor what it should return.
I took a punt that it might be f(t, b, c, d) (from here) but that didn't seem to be right.
The text was updated successfully, but these errors were encountered: