makinacorpus / Leaflet.FileLayer

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

Added optional 'ext' parameter to the 'load' method #36

Closed opoto closed 7 years ago

opoto commented 7 years ago

Force file type when file does not have the expected extension. This is now consistent with 'loadData' method. The method is still backward compatible with former signature.

Added test for this new parameter.

opoto commented 7 years ago

Closing while travis bugs are not fixed