Leaflet.FileLayer
Leaflet.FileLayer copied to clipboard
Fix creation and settings of geoJSON object
- Since Leaflet 1.0-rc1, there is a consistency in the naming of
GeoJSON(NB: Proj4Leaflet is following the same naming convention) - It's necessary to call
setDatamethod to set the content of the geoJSON