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

feat: setting animation on Cluster #1458

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Conversation

kikoso
Copy link
Collaborator

@kikoso kikoso commented Feb 4, 2025

This PR introduces a function to set the animation interpolator for the cluster. The current interpolator is lifted out of the Marker animation, since arguably we will have a single animation for the entire cluster.

This change only applies to the ClusterRendererMultipleItems cluster, to gather some feedback before promoting it to the Abstract Cluster (which will introduce a breaking change)

@googlemaps-bot
Copy link
Contributor

Code Coverage

Overall Project 34.28% -0.47% 🍏
Files changed 0%

File Coverage
ClusterRendererMultipleItems.java 0% -4.72%

@kikoso
Copy link
Collaborator Author

kikoso commented Feb 4, 2025

}

void setAnimationType(AnimationType type) {
switch (type) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this cancel any in progress animation? Can that happen?

@dkhawk dkhawk merged commit 4d61393 into main Feb 5, 2025
11 checks passed
@dkhawk dkhawk deleted the feat/setting_animation_cluster branch February 5, 2025 00:58
googlemaps-bot pushed a commit that referenced this pull request Feb 5, 2025
# [3.11.0](v3.10.0...v3.11.0) (2025-02-05)

### Features

* added method to stop animation ([#1457](#1457)) ([ed99d45](ed99d45))
* setting animation on Cluster ([#1458](#1458)) ([4d61393](4d61393))
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 3.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants