makinacorpus / Leaflet.FileLayer

Loads files locally (GeoJSON, KML, GPX) as layers using HTML5 File API
http://makinacorpus.github.io/Leaflet.FileLayer/
MIT License
273 stars 91 forks source link

Inherit from L.Evented instead of L.Mixin.Events for custom events #47

Closed SBats closed 6 years ago

SBats commented 7 years ago

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 7 years ago

The same here, any workaround to get rid of this WARNING ?

SBats commented 7 years ago

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 7 years ago

Bug here too with Leaflet v1.2

SBats commented 6 years ago

Fixed with the release 1.2.0! #51