jawj / OverlappingMarkerSpiderfier-Leaflet

Deals with overlapping markers in the Leaflet maps API, Google Earth-style
253 stars 68 forks source link

how to reinitizialise spiderfy #29

Open interactivevalues opened 8 years ago

interactivevalues commented 8 years ago

hi, is there a way to reinitialise spiderfy. My problem is: I load all markers and the user can select different filter where some markers are hidden. now the problem is if a marker that was spiderfied in the "all marker" view could be not spiderfied in the filtered view.

So I am looking for a way to "reset" and "reload" spiderfy on the filtered markers.

thx for your help!

cheers,

ToM