@loaders.gl/kml 4.0.0-beta.3 → 4.0.0-beta.5
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/dist.dev.js +1 -5
- package/package.json +5 -5
package/dist/dist.dev.js
CHANGED
|
@@ -5254,10 +5254,7 @@ var __exports__ = (() => {
|
|
|
5254
5254
|
const nextIndices = geometry.indices[l + 1];
|
|
5255
5255
|
for (let i = 0, il = indices.length; i < il; ++i) {
|
|
5256
5256
|
const start = indices[i];
|
|
5257
|
-
const end = i === il - 1 ?
|
|
5258
|
-
// last line, so either read to:
|
|
5259
|
-
nextIndices === void 0 ? geometry.data.length : nextIndices[0]
|
|
5260
|
-
) : indices[i + 1];
|
|
5257
|
+
const end = i === il - 1 ? nextIndices === void 0 ? geometry.data.length : nextIndices[0] : indices[i + 1];
|
|
5261
5258
|
polygons.primitivePolygonIndices[indexMap.polygonRing++] = indexMap.polygonPosition;
|
|
5262
5259
|
indexMap.polygonPosition += (end - start) / coordLength;
|
|
5263
5260
|
}
|
|
@@ -5359,7 +5356,6 @@ var __exports__ = (() => {
|
|
|
5359
5356
|
},
|
|
5360
5357
|
numericProps: wrapProps(polygons.numericProps, 1)
|
|
5361
5358
|
}
|
|
5362
|
-
// triangles not expected
|
|
5363
5359
|
};
|
|
5364
5360
|
if (binaryFeatures.polygons && polygons.triangles) {
|
|
5365
5361
|
binaryFeatures.polygons.triangles = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/kml",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.5",
|
|
4
4
|
"description": "Framework-independent loader for the KML format",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"build-bundle": "ocular-bundle ./src/index.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@loaders.gl/gis": "4.0.0-beta.
|
|
44
|
-
"@loaders.gl/loader-utils": "4.0.0-beta.
|
|
45
|
-
"@loaders.gl/schema": "4.0.0-beta.
|
|
43
|
+
"@loaders.gl/gis": "4.0.0-beta.5",
|
|
44
|
+
"@loaders.gl/loader-utils": "4.0.0-beta.5",
|
|
45
|
+
"@loaders.gl/schema": "4.0.0-beta.5",
|
|
46
46
|
"@tmcw/togeojson": "^4.5.0",
|
|
47
47
|
"@xmldom/xmldom": "^0.7.13"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a6f5a0d1a316cc22396e5a4d480c14329d1ef146"
|
|
50
50
|
}
|