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

Specify animate duration for the map #79

Closed
r4phab opened this issue Mar 28, 2022 · 4 comments · Fixed by #83
Closed

Specify animate duration for the map #79

r4phab opened this issue Mar 28, 2022 · 4 comments · Fixed by #83
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. released type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@r4phab
Copy link

r4phab commented Mar 28, 2022

Is your feature request related to a problem? Please describe.
There is now way to specify the animation duration for the map

Describe the solution you'd like
I would like to be able to specify the animation duration when calling the animate function on the CameraPositionState object. Right now I find it too slow for my app.

Describe alternatives you've considered

Additional context
I used the animateCamera function from the legacy maps repo before using compose and I may need an option to customize the animation duration.

@r4phab r4phab added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Mar 28, 2022
@jpoehnelt
Copy link
Contributor

@r4phab Thank you for opening this issue. 🙏
Please check out these other resources that might be applicable:

This is an automated message, feel free to ignore.

@arriolac arriolac added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed triage me I really want to be triaged. labels Mar 28, 2022
@arriolac
Copy link
Member

Thanks for reporting. This should be doable by using the underlying animateCamera that takes in a durationMs method.

@googlemaps-bot
Copy link
Contributor

🎉 This issue has been resolved in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@r4phab
Copy link
Author

r4phab commented Apr 1, 2022

Thank you @arriolac and the team for the lightning fast release 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. released type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants