Marker-cluster error when toggling layers

17 Aufrufe
Direkt zur ersten ungelesenen Nachricht

con...@mapfact.com

ungelesen,
03.09.2016, 12:58:2203.09.16
an 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


Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten