Leaflet.FileLayer
Leaflet.FileLayer copied to clipboard
Loads files locally (GeoJSON, KML, GPX) as layers using HTML5 File API
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...
- [x] Move CI to github actions - [x] Enable defined eslint check in CI - [x] Fix code to match defined eslint check
togeojson says project has moved to @mapbox/togeojson with npm install. In this PR https://github.com/makinacorpus/Leaflet.FileLayer/pull/74 someone says original author maintained project instead of mapbox https://github.com/placemark/togeojson
replace mocha-phantomjs with cyress tests
- Update eslint libraries and policy
* Since [Leaflet 1.0-rc1](https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md#10-rc1-2016-04-18), there is a consistency in the naming of `GeoJSON` (NB: Proj4Leaflet is following the same naming convention) * It's necessary to call `setData` method to set...
I would like to know how to install leaflet-filelayer in React (React-leaflet)....
Why can't I write like this? How should I revise it? ``` var control = L.Control.fileLayerLoad({ fitBounds: true, layerOptions: { onEachFeature: function (feature, layer) { if (feature.properties.name) { layer.bindTooltip(feature.properties.name, {...