js-markerclusterer icon indicating copy to clipboard operation
js-markerclusterer copied to clipboard

mouseover events for clusters

Open GeirFjaerli opened this issue 3 years ago • 0 comments

Hi. There does not seem to be a way to attach events other than click to clusters. What I want is to show an infobox or similar listing the places of the markers in the cluster the mouse is currently hovering. I do not want to hijack the click event, that should work as intended. Edit: But it would make sense if the user could see the contents of each cluster without having to click in and then zoom out of each of them. In my case there are quite a few clusters...

But as far as I can tell there is no support for mouseover events for clusters. Stackoverflow threads on the subject seems to be years old and outdated, and suggestions found there and elsewhere does not work for me.

If there is a way, I'd be grateful to know, and if not, maybe this is a sensible addition to the library.

Geir :)

GeirFjaerli avatar Aug 30 '22 11:08 GeirFjaerli