makinacorpus / Leaflet.FileLayer

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

Add CSV,XML parser. #21

Closed p4535992 closed 6 years ago

p4535992 commented 8 years ago

Add csv parser. A functional example here: http://jsfiddle.net/4535992/gynog5nx/2/

leplatrem commented 8 years ago

Thanks for this contribution!

Let me give you some feedback before it could be merged:

If you update the pull-request, please let us know with a small comment otherwise I won't be notified!

Thanks again!

p4535992 commented 8 years ago

Sorry if I did not answer right away, thank you for the advice, I will make the appropriate changes and let you know.

p4535992 commented 8 years ago

Add a new commit, with a xml parser, and gtfs viewer (need some upgrade aniway) .

mabhub commented 6 years ago

I don't think adding parsers is the best way to achieve this, but maybe adding a way to use middleware or hooks would be better.

Closing for now, but please comment if needed.