Closed scgrant327 closed 7 years ago
That is not going to be possible !
Image how unsecure would be the Web if any page could load files from your computer without your conscent! You'll have to find another way... a browser extension can do it for example.
@leplatrem what if the KML/GPX or whatever file is in the server, and we want to load them in our Leaflet map¿? I don't think that would cause any troubles at all, since we already have loaded a JS script.
I want to dynamically create HTML files that automatically load a specific KML file....without user interaction.
How/Where would I do that in the code? For example, if I use the 'well known' KML loading HTML, what do I need to change to auto-load my custom KML file from a local resource?