-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clusterclick event doesn't work for leaflet 1.8 #1065
Comments
I am having the same issue, I just updated leaflet to the latest build (not release) and the click and clusterclick events are not being registered/bubbled up. |
Same issue here, if MarkerCluster works for markers with identical ddresses (lat/lon). In my case, I have 5 markers with identical addresses (52.50615039, 13.37566891), and the 6. marker of the cluster has another street in the same city (52.49671197, 13.38293081). leaflet-core-1.4.0.js |
I can confirm the problem with Leaflet 1.9.0, but not with 1.8 - it works fine for me when I switch back to core v1.8. Versions in use:
Nothing in the console, no error or warning, but the click event doesn't work, both in Firefox and in Chrome. The clusters per se work, it's only the click event on a cluster icon, that does nothing. |
probably because leaflet stopped exporting L globally. They revert it in 1.9.2, so maybe this works again? |
In fact, they fixed it in 1.9.1. Works for me - Leaflet 1.9.1 and Leaflet.markercluster 1.5.3 play nicely again. Maybe people still struggling want to give updating Leaflet.markercluster to its latest version a try? 1.4.1 is a little dated. People using integration frameworks should probably have a look at Leaflet 1.9.2. |
How to reproduce
What behaviour I'm expecting and which behaviour I'm seeing
The handler is called after click, and the event not propagated to map.
Minimal example reproducing the issue
Using http://leafletjs.com/edit.html or any other jsfiddle-like site.
The text was updated successfully, but these errors were encountered: