Closed opoto closed 7 years ago
Hi. Thanks for the review. I fixed eslint errors you listed, plus no-unneeded-ternary
and consistent-return
errors that were also reported. I ignored warnings (which anyway are not related to my changes), and left the no-undef
and global-require
errors which are not related to my changes neither.
Wonderfull ! Thank you again for this great contribution !
Added:
FileLoader.loadData(data, name, ext)
where:data
is the input data to load (a GeoJson, GPX or KML)name
is the name of the data (file name, URL, etc)ext
is an optional parameter to set data type in order to force parser type'data:error'
if load/loadData mandatory parameters are missingfile.testing
to true to skip reader load)loadData
Sample usage (with JQuery):