Marker-cluster error when toggling layers

17 views
Skip to first unread message

con...@mapfact.com

unread,
Sep 3, 2016, 12:58:22 PM9/3/16
to Leaflet
Hi all,

I have a lot of markers on the same position and am using marker-clusters to indicate/give access to overlapping markers by means spiderfying.


Problem: When markers in a cluster are spiderfied and I choose another category in the layer control, I get this error: "Cannot set property '_leaflet_pos' of null".

Anyone ideas how to solve this? 

I have tried to unspiderfy the cluster when choosing another layer, but I can't figure out how to do it.

Cheers


Reply all
Reply to author
Forward
0 new messages