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

Add drag and drop support #1

Closed leplatrem closed 11 years ago

leplatrem commented 11 years ago

Suggestion and example already implemented by @calvinmetcalf in leaflet.workspace

https://twitter.com/CWMma/status/314445280412069888

calvinmetcalf commented 11 years ago

specifically implemented here I believe my function handleFile corresponds to your FileLoader.load

calvinmetcalf commented 11 years ago

I added a license btw to make it easier for you to just cut and paste