ui-leaflet
ui-leaflet copied to clipboard
TypeError: e.target.resetStyle is not a function
Hi folks,
I noticed a bug(?) in this project: if I invoke the resetStyle of a layer it won't recognize the function causing it to throw an error. If I comment the line 126 and uncomment the line 127 (setStyle with a fixed style) it all works as expected.
Here is the source if you want to confirm: leaflet_ui_bad.zip
On native leaflet js the same resetStyle is working.
With no more for now, Regards, nmrm