Open stevenmason opened 8 years ago
similar issue, except when zooming in on markerclusters, the blue markers disappear. The console throws;
Map.js:1 Uncaught TypeError: Cannot read property 'call' of undefined
Any ideas at all? I'm using UI-Leaflet with Leaflet.markercluster
, and Leaflet.label
- The entire thing is bundled with JSPM although I think it's down to the two packages not playing nicely as I've tried re-installing different tags/branches to get different effects. Using github:Leaflet/Leaflet@1.0.0-rc.1
,github:Leaflet/Leaflet.label@0.2.1
, github:Leaflet/Leaflet.markercluster@1.0.0-rc.1
, in my build.
Update: I was previously using github:Leaflet/Leaflet.label@0.2.1
, by updating to 0.2.2-dev
the issue is now resolved.
Can confirm that I am seeing the same bug as @stevenmason.
Using Leaflet.label@0.2.2-dev, Leaflet.markercluster@0.5.0, Leaflet@0.7.7
I finally resolved this issue by using Leaflet 1.0.1. Leaflet now has tooltips. I changed labels into tooltips. You also need the latest markercluster plugin. Problemen fixed. If you need help how to let me know.
To recreate this: 1) Create a marker cluster group layer. 2) Add it to the map. 3) Zoom in till some markers are shown and a cluster is shown (see image) 4) Remove the marker cluster group. 5) Add the marker cluster group back to the map.