jupyter-widgets / ipyleaflet

A Jupyter - Leaflet.js bridge
https://ipyleaflet.readthedocs.io
MIT License
1.49k stars 363 forks source link

Is it possible to detect the zoomend event present in the JS leaflet version ? #1032

Open kraleva opened 2 years ago

kraleva commented 2 years ago

Basically a pretty straightforward question, I want to be able to call a function on a zoomend event. However, by just trying it with the observe pattern, the function I wanted to invoke was not called. Is there any way to do so ? Also any alternative suggestion would be appreciated. The zoom event does however trigger the function :)