togeojson.js: Fix bug with parsing google KML files"
This commit is contained in:
committed by
GitHub
parent
a384b21ed0
commit
1641fd5727
2
external/togeojson.js
vendored
2
external/togeojson.js
vendored
@ -96,6 +96,8 @@ toGeoJSON = (function() {
|
||||
for (j = 0; j < geomNodes.length; j++) {
|
||||
geomNode = geomNodes[j];
|
||||
if (geotypes[i] == 'Point') {
|
||||
if(nodeVal(get1(geomNode, 'coordinates')) === null)
|
||||
continue;
|
||||
geoms.push({
|
||||
type: 'Point',
|
||||
coordinates: coord1(nodeVal(get1(geomNode, 'coordinates')))
|
||||
|
Reference in New Issue
Block a user