Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

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

Open
StanIsAdmin opened this issue Mar 31, 2017 · 1 comment
Open

Comments

@StanIsAdmin
Copy link

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:

  • One or more (sometimes all) markers adopt the same icon, always one of the original icons used for one of the markers
  • Icons do not appear whole
  • Icons are shown multiple times
  • Any combination of the above

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
Copy link
Contributor

Remo commented Apr 25, 2017

In case someone sees this issue, here's a discussion about this gmaps-marker-clusterer/gmaps-marker-clusterer#27

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

No branches or pull requests

2 participants