Mathieu Leplatre
Mathieu Leplatre
Thanks for your feedback ! GeoJSON is compatible with what you describe, since it can store any data as a property. You are right, so far, there is no way...
Do you have a screenshot :) ?
What are the missing pieces? Could you detail how you would use it and what would be the benefits? /cc @Gagaro @mabhub @gutard
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 :)
This plugin is not meant to load one *your* files to everyone visiting your map. Instead it allows users to browse *their* local files and load them on *their* map....
It would be awesome if you could contribute a small demo of what you've done! (in an `examples/` folder here for example)
Drag & Drop a Shapefile, get a Geojson map : https://github.com/daguar/shapefile-to-webmap/
Cool! thanks! You should update the package.json file too I guess ;)
Intuitively, I would believe that the easiest way is to hide the button with CSS and trigger a fake click on it :)
I don't remember the history of this option... but `fileSizeLimit` is defined twice in the source file, so maybe you forgot once. And a priori it's an option, so shouldn't...