Skip to content
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

Max value for options.speed? #1533

Closed
Tracked by #229
bmehta opened this issue Sep 23, 2015 · 2 comments
Closed
Tracked by #229

Max value for options.speed? #1533

bmehta opened this issue Sep 23, 2015 · 2 comments
Assignees

Comments

@bmehta
Copy link

bmehta commented Sep 23, 2015

If I am using fitBounds - https://www.mapbox.com/mapbox-gl-js/api/#map/fitbounds, is there a way to tell the max value I can use for options.speed?

@mourner
Copy link
Member

mourner commented Sep 23, 2015

Not yet, but that's a good idea. Should be easy to add.

@mourner
Copy link
Member

mourner commented Sep 24, 2015

Hmm, not, I must have misinterpreted the question. What do you want to achieve? fitBounds chooses a duration based on how far it must travel, that's why there's speed instead of duration, and it is constant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants