Skip to content

feat: add rotation support to cluster item API#943

Open
kikoso wants to merge 2 commits into
mainfrom
feat/cluster-item-rotation
Open

feat: add rotation support to cluster item API#943
kikoso wants to merge 2 commits into
mainfrom
feat/cluster-item-rotation

Conversation

@kikoso

@kikoso kikoso commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add rotation parameter support to the cluster item API, allowing users to customize marker rotation for both clustered and non-clustered items.

Changes

  • Added rotation field to ClusteringMarkerProperties
  • Added clusterContentRotation and clusterItemContentRotation parameters to all Clustering() functions
  • Updated rememberClusterRenderer() to accept and apply rotation parameters
  • Rotation is applied via markerOptions.rotation() just like regular markers

Testing

  • Project builds successfully with no compilation errors
  • Changes follow the same pattern as existing anchor and zIndex support

Closes

Closes #942

Add rotation parameter to ClusteringMarkerProperties and Clustering functions, allowing per-item and default rotation customization for both cluster and cluster item markers. This follows the same pattern as the existing anchor and zIndex support added in v8.1.0.

Closes #942
@googlemaps-bot

Copy link
Copy Markdown
Contributor

Code Coverage

Overall Project 27.53% 🍏

There is no coverage information present for the Files changed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add rotation support to cluster item API

3 participants