Skip to content

feat: setting animation on Cluster#1458

Merged
dkhawk merged 1 commit intomainfrom
feat/setting_animation_cluster
Feb 5, 2025
Merged

feat: setting animation on Cluster#1458
dkhawk merged 1 commit intomainfrom
feat/setting_animation_cluster

Conversation

@kikoso
Copy link
Copy Markdown
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
Copy Markdown
Contributor

Code Coverage

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

File Coverage
ClusterRendererMultipleItems.java 0% -4.72%

@kikoso
Copy link
Copy Markdown
Collaborator Author

kikoso commented Feb 4, 2025

}

void setAnimationType(AnimationType type) {
switch (type) {
Copy link
Copy Markdown
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
Copy Markdown
Contributor

🎉 This PR is included in version 3.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

googlemaps-bot pushed a commit that referenced this pull request Feb 18, 2025
# [3.11.0](v3.10.0...v3.11.0) (2025-02-18)

### Bug Fixes

* fixed item updated ([#1461](#1461)) ([bacdc9b](bacdc9b))

### Features

* added method to stop animation ([#1457](#1457)) ([ed99d45](ed99d45))
* setting animation on Cluster ([#1458](#1458)) ([4d61393](4d61393))
@googlemaps-bot
Copy link
Copy Markdown
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