leaflet-map
leaflet-map copied to clipboard
Sync DOM attribute update with event forwarding
Hi!
I noticed that when I use the zoomend event of the web component, the zoom attribute of the web component does not contain the new value.
I think this is because there are 2 map.on('zoomend', ... callbacks in leaflet-code.html.
I tried to unify those callbacks.
Please tell me what you think about it :-)