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

z-index #108

Open sophianachiba opened 7 years ago

sophianachiba commented 7 years ago

Not sure if this is on purpose but it seem like the default z-index on markers (based on their latitude) is not applied after markers are clustered. Is there a parameter that can be set for it?

bramwillemse commented 7 years ago

I'm running into the same kind of issue. I have an issue where the clustered markers fall over a 'my location' marker, but in the part where those two markers overlap, the clustered marker is not clickable.

Assigning a higher z-index would be the solution, but it would be good to know if there's a way to set this up properly.

cen1 commented 6 years ago

Having exact same problem as @bramwillemse. No matter what Z index you set, cluster marker will always be above your own marker, apparently because cluster markers are rendered in a higher overlay.