Dave Leaver

Results 67 comments of Dave Leaver

Sorry not supported. Would consider a PR to add it, but hm yeah tricky one.

This does work when using a FeatureGroup instead of a L.MCG: https://jsfiddle.net/m6jr7e0p/2/ `hasLayer` doesn't work when adding any FeatureGroup/LayerGroup to a MCG. This is because [we unpack them instead of...

Yep, sounds useful. PRs will be accepted :+1:

Please create a minimal reproduction of this.

This is weird. Can you reproduce this by just creating markers directly? Maybe add them to a layergroup/featuregroup before adding them to the cluster.

Sorry, I meant can you reproduce this without using the jsonp call and L.geoJson?

What about L.geojson with some small inline json?

Hopefully there is a leaflet event we can listen to so we can support this. Can you make a minimal reproduction of the issue?

It should be possible for leaflet.markercluster to use `baselayerchange` to support this maybe, but it'll be expensive (having to recalculate clusters or re-parent them or something when zoom ranges change....