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

Wrong marker format with MarkerClusterer(Plus) after zooming in #168

Open
vsemionov opened this issue Dec 8, 2019 · 2 comments
Open

Wrong marker format with MarkerClusterer(Plus) after zooming in #168

vsemionov opened this issue Dec 8, 2019 · 2 comments

Comments

@vsemionov
Copy link

Hi @jawj,

Many thanks for creating this cool library!

I use it together with MarkerClustererPlus and I ran into a small problem with the marker format (status) while zooming the map. Similar problems also happen with MarkerClusterer (without Plus).

MarkerClustererPlus issue:

After manually zooming in to uncluster a group of markers with identical positions, the marker status is unspiderfiable instead of spiderfiable. It happens every time. To reproduce:

  1. Add two markers with identical positions.
  2. Configured the clusterer's maxZoom (I use 15).
  3. Manually zoom in until the markers are no longer clustered. By manual zoom, I mean click the map's plus widget, not the cluster.
    The markers should be spiderfiable, but they are not (their status is unspiderfiable). If you zoom in once more, they become spiderfiable.

MarkerClusterer issues:

Issue 1

Same as the MarkerClusterer issue above.

Issue 2

After clicking a cluster to zoom into a group of markers with identical positions, the marker status is unspiderfiable instead of spiderfiable. It happens sometimes (about half of the time). To reproduce:

  1. Add two markers with identical positions.
  2. Configured the clusterer's maxZoom (I use 15).
  3. Click the cluster to zoom in. The markers are no longer clustered.
    The markers should be spiderfiable, but sometimes they are not (their status is unspiderfiable).
@alessioerosferri
Copy link

Any news on this? I have the same issue

@Jollus174
Copy link

I've noticed a few people have run into this problem (myself included). This posted solution worked for me: #103 (comment)

It's important that the un-minified version of the library is also used in order for this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants