We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am getting error "toGeoJSON.kml is not a function" in Widgets.js. at this line
var geojson = toGeoJSON.kml(dom);
define( [ 'libs/togeojson', ... .... ], function (toGeoJSON, ..., ...) { importGPXorKML: function (event) { debugger; var content = event.target.result; try { var dom = (new DOMParser()).parseFromString(content, 'text/xml'); } catch (err) { this.message("The input file is not a file " + this._current_file_extension + " valide."); this.loading(false); } this._createResultLi(); if (this._current_file_extension == "gpx") var geojson = toGeoJSON.gpx(dom); else { this.registerKmlStyles(dom); var geojson = toGeoJSON.kml(dom); } this.addGeojson(geojson); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am getting error "toGeoJSON.kml is not a function" in Widgets.js.
at this line
var geojson = toGeoJSON.kml(dom);
The text was updated successfully, but these errors were encountered: