leaflet - how to add a handler with cycle behavior? <p>I've followed handler tutorial on <a href="http://leafletjs.com/examples/extending/extending-3-controls.html" rel="nofollow">http://leafletjs.com/examples/extending/extending-3-controls.html</a>.</p> <p>I can do handler that do something on event ('mouseover', etc...) but I don't find a way to do something every 100ms. I have tried to use setTimeout/setInterval but I can't catch 'this' because window object throw the event. </p> <p>I didn't found something about that in documentation, nor in github. Is there such mecanism in leaflet ?</p> <p>Anybody could help me ?</p> <p>Thx</p>