ebrelsford / Leaflet.loading

A simple loading control for Leaflet
MIT License
143 stars 49 forks source link

Listen to layerremove #13

Closed yohanboniface closed 10 years ago

yohanboniface commented 10 years ago

In some cases, the layer can be removed before it is fully loaded, so this change will call for _handleLoad on remove too.

Thanks :)

ebrelsford commented 10 years ago

Makes sense--thanks!