googlearchive / js-marker-clusterer

A marker clustering library for the Google Maps JavaScript API v3.
https://googlemaps.github.io/js-marker-clusterer/docs/reference.html
Apache License 2.0
1.28k stars 775 forks source link

Marker icon display bugs when setting maxZoom with custom icons #128

Open StanIsAdmin opened 7 years ago

StanIsAdmin commented 7 years ago

I have a google map where I create markers with custom icons, and there are hundreds of these icons. I'd like not to cluster them when zooming beyond a certain level, so I tried using the maxZoom option (I have tried values 14, 15 and 16).

Whenever I create multiple markers close to each other at high zoom levels then zoom in and out, graphical bugs start appearing.
So far, here are the bugs I've seen:

I should state that I have no problem whatsoever whenever I simply do not set the maxZoom option.

Here is an example of such a bug (I had to add a marker for the last one to happen) :

capture capture1 capture2 capture3

Any help solving this would be greatly appreciated, thanks for all the hard work and support 👍

Remo commented 7 years ago

In case someone sees this issue, here's a discussion about this https://github.com/gmaps-marker-clusterer/gmaps-marker-clusterer/issues/27