OverlappingMarkerSpiderfier icon indicating copy to clipboard operation
OverlappingMarkerSpiderfier copied to clipboard

Wrong marker format with MarkerClusterer(Plus) after zooming in

Open vsemionov opened this issue 5 years ago • 2 comments

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).

vsemionov avatar Dec 08 '19 05:12 vsemionov

Any news on this? I have the same issue

alessioerosferri avatar Apr 07 '21 13:04 alessioerosferri

I've noticed a few people have run into this problem (myself included). This posted solution worked for me: https://github.com/jawj/OverlappingMarkerSpiderfier/issues/103#issuecomment-327900374

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

Jollus174 avatar Jun 08 '22 01:06 Jollus174