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

Load files from URL

Open PedroVenancio opened this issue 2 years ago • 0 comments

Hi,

I don't know if this is possible using the HTML5 FileReader API, but I would like to pass the location of the file to load in the leaflet app URL, instead of using the button or the drag & drop to load a local file. Something like https://example.html?&file=URL_to_GeoJSON_file.json

Is this possible with FileLayer?

Thank you very much!

PedroVenancio avatar Mar 01 '22 17:03 PedroVenancio