Closed peergynt closed 6 years ago
Stash this._map because when removing a PruneClusterForLeaflet layer, the cluster 'onRemove' sets this._map to null (which causes an npe in the setTimeout() function callback if we had a spiderfied cluster).
Thanks. It seems like a fair thing to do.
Stash this._map because when removing a PruneClusterForLeaflet layer, the cluster 'onRemove' sets this._map to null (which causes an npe in the setTimeout() function callback if we had a spiderfied cluster).