googlemaps / js-markerclusterer

Create and manage clusters for large amounts of markers
https://googlemaps.github.io/js-markerclusterer/
Apache License 2.0
233 stars 86 forks source link

Option to ignore hidden markers #867

Open johnkamau opened 7 months ago

johnkamau commented 7 months ago

The previous marker clusterer had an option to ignoreHidden, which I presume was a check for whether the marker was visible. With the new AdvancedMarkerElements, the only way to hide them is to set the map value to null, which hides them from the map.

Would it be possible for the markerClusterer to have an option that would check if the map value is null and thus not cluster those that are essentially hidden? at the moment all markers are clustered, regardless of whether they are visible or not.

wangela commented 7 months ago

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.

@johnkamau Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.