OverlappingMarkerSpiderfier icon indicating copy to clipboard operation
OverlappingMarkerSpiderfier copied to clipboard

Disable / enable spiderfying programmatically

Open peschee opened this issue 9 years ago • 1 comments

Hi @jawj

Is it possible to disable / enable the spiderfying with the current version of this library? We're currently working on an implementation where spiderfying should be disabled in certain zoom levels and (re-) enabled in other zoom levels.

One options is to remove and re-add all markers to or from the spiderfier when these zoom-level conditions apply, but I'd like to prevent doing this as it seems quite an overhead.

peschee avatar Apr 18 '16 12:04 peschee

There's a similar feature implemented in #71 in commit 1c5302df6b51319aad7d6a2c9b00c908d5850dc2 where you can set a minimum zoom level to activate the spiderfying.

peschee avatar Apr 19 '16 05:04 peschee