googlearchive/js-marker-clusterer

Polygon on cluster hover

maximou4391 opened this issue · 1 comments

Hi,

I'm trying to show a polygon that cover all the markers inside a cluster when hovering this cluster (like leaflet markerCluster is doing: https://github.com/Leaflet/Leaflet.markercluster).
So I manage to do it with google maps polygon but the problem is that the polygon is repeating itself when the zoom is 0,1 or 2 (Because countries are shown multiple times).

So I was wondering if its possible to draw a polygon inside an OverlayView (which doesn't repeat multiple times, like the clusters) ?

Thanks a lot,

Maxime.

Remo commented

If you have a jsfiddle or something where we could see the problem I'd be happy to help, but please post your problem over here https://github.com/gmaps-marker-clusterer/gmaps-marker-clusterer. This repo isn't maintained anymore, thanks!