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

Multi file loader and integrated solution .kmz #72

Open aliencraft1512 opened 5 years ago

aliencraft1512 commented 5 years ago

Great plugin!!! it would be even better if you collaborate with the developer of leaflet .kmz to create an integrated solution.

leplatrem commented 5 years ago

What are the missing pieces? Could you detail how you would use it and what would be the benefits?

/cc @Gagaro @mabhub @gutard

aliencraft1512 commented 5 years ago

Probably the addition of the .KMZ extension to the HTML5 File API, in a similar way to the other file types (.kml,json,gpx) :)

leplatrem commented 5 years ago

Well, if that's all it takes, you can submit a PR to change this line:

https://github.com/makinacorpus/Leaflet.FileLayer/blob/4f0e01105adc900a03f293b9b49ca365d5155343/src/leaflet.filelayer.js#L311

:)