Merge pull request #8619 from fredj/typing
Remove wrong Geometry type in KML format
This commit is contained in:
@@ -1580,7 +1580,6 @@ function readMultiGeometry(node, objectStack) {
|
|||||||
if (geometries.length === 0) {
|
if (geometries.length === 0) {
|
||||||
return new GeometryCollection(geometries);
|
return new GeometryCollection(geometries);
|
||||||
}
|
}
|
||||||
/** @type {import("../geom/Geometry.js").default} */
|
|
||||||
let multiGeometry;
|
let multiGeometry;
|
||||||
let homogeneous = true;
|
let homogeneous = true;
|
||||||
const type = geometries[0].getType();
|
const type = geometries[0].getType();
|
||||||
|
|||||||
Reference in New Issue
Block a user