Leaflet.FileLayer icon indicating copy to clipboard operation
Leaflet.FileLayer copied to clipboard

Multi file loader and integrated solution .kmz

Open aliencraft1512 opened this issue 6 years ago • 3 comments

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

aliencraft1512 avatar Jul 24 '19 10:07 aliencraft1512

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

/cc @Gagaro @mabhub @gutard

leplatrem avatar Aug 12 '19 08:08 leplatrem

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

aliencraft1512 avatar Aug 19 '19 11:08 aliencraft1512

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

:)

leplatrem avatar Aug 20 '19 12:08 leplatrem