makinacorpus / Leaflet.FileLayer

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

Event supporting loading several files at once #68

Open johnd0e opened 5 years ago

johnd0e commented 5 years ago

As loadMultiple is capable of loading several files at once - we need support it in events.

It could be separate events pair 'data:multiple:start'/'data:multiple:end'.

Sample usage: I want add loaded files to L.Layers layerchooser as layerGroup. Also in this case I may prefer to forbid map.fitBounds().