Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster counting not visible markers #438

Closed
electrofLy opened this issue Sep 20, 2022 · 1 comment
Closed

Cluster counting not visible markers #438

electrofLy opened this issue Sep 20, 2022 · 1 comment
Assignees
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@electrofLy
Copy link

The clustering algorithms that are provided with the library cluster also the invisible markers. You can easily see that in the implementation of the supercluster. It should filter those markers based on their visibility.

Steps to reproduce

  1. Load markers in google maps
  2. Set all markers to invisible via https://developers.google.com/maps/documentation/javascript/reference/marker#Marker.setVisible
  3. Clusters include all markers
@electrofLy electrofLy added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Sep 20, 2022
@electrofLy
Copy link
Author

nevermind, duplicate of #267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants