humangeo / leaflet-dvf

Leaflet Data Visualization Framework
MIT License
689 stars 153 forks source link

GeohashLayer leaks layers when being removed #130

Open hy9be opened 5 years ago

hy9be commented 5 years ago

I found even by calling .clearLayers() on a GeohashLayer, there are still a lot of layers left in the map. Is there a way to remove all related layers for a GeohashLayer?