jawj / OverlappingMarkerSpiderfier-Leaflet

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

keepSpiderfied: true does not work #24

Closed dmccormack3 closed 9 years ago

dmccormack3 commented 9 years ago

Hi,

I was hoping that spiderfied results would stay open when clicking between different results. This isn't the case using the following code however:

var oms = new OverlappingMarkerSpiderfier(map, { keepSpiderfied : true});

On a somewhat related note, is it possible to spiderfy each item automatically without a click?

jawj commented 9 years ago

I'm afraid neither of these things is easily possible, due to the way spiderfying works. See closed issues on the GMaps version: https://github.com/jawj/OverlappingMarkerSpiderfier/issues/27 https://github.com/jawj/OverlappingMarkerSpiderfier/issues/3