googlemaps / googlemaps/js-markerclusterer

Option to ignore hidden markers

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

Description

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.

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.