Leaflet / Leaflet.heat

A tiny, simple and fast heatmap plugin for Leaflet.
http://leaflet.github.io/Leaflet.heat/demo
BSD 2-Clause "Simplified" License
1.55k stars 525 forks source link

Are there any draw events for a Leaflet.heat layer? #47

Open chadwilcomb opened 8 years ago

chadwilcomb commented 8 years ago

I am pretty sure the answer is no, so I guess this is a feature request/call for help?

It would be very useful if there were events that we could listen for to know when the heatmap drawing has started and completed, similar to other leaflet layer types. I am building an time series animation with a heatmap layer but the drawing inevitably lags behind the time tick marker. In this case it would be nice to know when the heatmap render has completed and wait to advance the time tick marker until it has drawn.

Anyone have any suggestions?