makinacorpus / Leaflet.FileLayer

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

Report XML parsing errors #78

Open opoto opened 4 years ago

opoto commented 4 years ago

Instead of silently failing to load invalid XML, this patch throws an exception which will be propagated through 'data:error' event