googlemaps / googlemaps/js-markerclusterer

Cluster Not Expanding After Marker Click with Advanced Markers

Open
#1,053 1 comment 0 reactions 0 assignees View on GitHub
triage me type: bug
Dominant language
TypeScript
Stars
293
Forks
104
Avg merge
3m
Merged PRs (30d)
18

Description

**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

```javascript
// 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.