js-markerclusterer icon indicating copy to clipboard operation
js-markerclusterer copied to clipboard

Cluster Not Expanding After Marker Click with Advanced Markers

Open hkshetry opened this issue 3 months ago • 1 comments

Google Maps JavaScript API: Advanced Markers cluster grouping not working after migration


Environment details

  1. Google Maps JavaScript API: Advanced Markers - Cluster grouping behavior issue
  2. OS type and version: Not specified (web-based issue)
  3. Library version: Google Maps JavaScript API with Advanced Markers, Supercluster with radius 140

Steps to reproduce

  1. Migrate from standard markers to Advanced Markers in Google Maps JavaScript API
  2. Set up map with height of 350px
  3. Configure Supercluster with radius of 140
  4. Load markers that form clusters
  5. Click on a cluster (specifically the "14" cluster in Springfield, Illinois in the provided example)
  6. Observe that the cluster does not break apart or expand as expected

Code example

// JSFiddle reproduction: https://jsfiddle.net/ro5wnj6m/4/
// Map configuration with Advanced Markers and Supercluster
// Map height: 350px
// Supercluster radius: 140
// Issue: Clicking cluster "14" in Springfield, Illinois does not expand/break apart

hkshetry avatar Sep 12 '25 14:09 hkshetry