Inherit from L.Evented instead of L.Mixin.Events for custom events
SBats opened this issue · 4 comments
SBats commented
As stated in console L.Mixin.Events
is now deprecated and will be removed and any custom event should instead inherit from L.Evented
.
ldoloscan commented
The same here,
any workaround to get rid of this WARNING ?
SBats commented
The plugin needs to be updated. I don't think it's a lot of work if you want to try a PR :).
Otherwise, I'll try to give it a look but I have no idea when I'll find time for this.
ppete2 commented
Bug here too with Leaflet v1.2