makinacorpus / Leaflet.FileLayer

Loads files locally (GeoJSON, KML, GPX) as layers using HTML5 File API
http://makinacorpus.github.io/Leaflet.FileLayer/
MIT License
271 stars 91 forks source link

L.Control.fileLayerLoad is not a function #73

Closed mladenp closed 4 years ago

mladenp commented 4 years ago

I am getting this error when i use it with create-react-app: TypeError: leaflet__WEBPACK_IMPORTED_MODULE_3___default.a.Control.fileLayerLoad is not a function I tried different togeojson packages but it doesn't make any difference.

leplatrem commented 4 years ago

Honestly I don't know how to help here...

mladenp commented 4 years ago

I found different package that solved my issue, i couldn't get this one to load in CRA even when manually adding togeojson.

Ricardogh commented 2 months ago

alguien me puede colaborar por favor con este error leafletWEBPACK_IMPORTED_MODULE3default.a.Control.fileLayerLoad is not a function, estoy utilizando angular 15