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.
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 registeredclusterclick
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 https://github.com/sodik82/js-marker-clusterer/commit/a6ce4786511e94f457b4a7883b1beee9366aa04c but maybe more proper solution can be implemented (via property or something else - pass event to
clusterclick
callback function?)