googlearchive/js-marker-clusterer

Click event on ClusterIcon can't be stopped from propagating.

sodik82 opened this issue · 0 comments

I have a map with clustered icons where I have registered click event for whole map and for each marker. To capture clicks on clustered markers I have also registered clusterclick listener that shows window info.

When I click cluster icon, window info is shown but in addition also map's click event is triggered. This is in contrast to ordinary markers, where click only shows window info but stops propagate event to the map.

As a workaround I have implemented simple quick fix in sodik82@a6ce478 but maybe more proper solution can be implemented (via property or something else - pass event to clusterclick callback function?)