googlemaps / googlemaps/js-markerclusterer

SuperClusterAlgorithm keeps displaying cluster at maximum zoom level

Open
#647 2 comments 4 reactions 1 assignee Claimed by @wangela View on GitHub
triage me type: bug
Dominant language
TypeScript
Stars
293
Forks
104
Avg merge
3m
Merged PRs (30d)
18

Description

SuperClusterAlgorithm keeps displaying cluster and doesn't display markers at maximum zoom level. There is maxZoom which can be set, however it has no effect in SuperAlgorithm. It works as expected when using GridAlgorithm. The results are inconsistent. I seem to have this issue more when using the mouse wheel to zoom instead of double-clicking. This also seems to be more related to markers that are very close together.

I don't have an example I can show but this seems to be a similar issue as #300 but with the SuperClusterAlgorithm.
(I just used the same image from the issue I referenced above. It is actually for SuperClusterAlgorithm not GridAlgorithm.)

![164112213-4a8de51c-cb49-4c93-87bb-d2ba97d048f3](https://github.com/googlemaps/js-markerclusterer/assets/9997087/66b1630b-e758-40ea-9d0e-1d22f884881b)

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.