Closed cjcenizal closed 10 years ago
@leplatrem I figured this would be useful to others... you can whitelist the file formats you want to allow, like this:
L.Control.fileLayerLoad({ formats: [ '.geojson', '.kml' ] });
Excellent ! Thanks !
Could you add a mention of this in the README please before I merge ?
Thanks! I just updated the README.
Thanks @leplatrem ! Would you mind releasing a new tag with this feature?
Done !
@leplatrem I figured this would be useful to others... you can whitelist the file formats you want to allow, like this: