ol 9.2.5-dev.1719594762309 → 9.2.5-dev.1719634408469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ol.js +2 -2
- package/dist/ol.js.map +1 -1
- package/format/KML.js +1 -1
- package/package.json +1 -1
- package/util.js +1 -1
package/format/KML.js
CHANGED
|
@@ -1849,7 +1849,7 @@ function readMultiGeometry(node, objectStack) {
|
|
|
1849
1849
|
} else if (type == 'Polygon') {
|
|
1850
1850
|
multiGeometry = new MultiPolygon(geometries);
|
|
1851
1851
|
setCommonGeometryProperties(multiGeometry, geometries);
|
|
1852
|
-
} else if (type == 'GeometryCollection') {
|
|
1852
|
+
} else if (type == 'GeometryCollection' || type.startsWith('Multi')) {
|
|
1853
1853
|
multiGeometry = new GeometryCollection(geometries);
|
|
1854
1854
|
} else {
|
|
1855
1855
|
throw new Error('Unknown geometry type found');
|
package/package.json
CHANGED
package/util.js
CHANGED