@loaders.gl/3d-tiles 4.2.0-alpha.5 → 4.2.0-beta.1

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/index.cjs CHANGED
@@ -48,7 +48,7 @@ var import_loader_utils8 = require("@loaders.gl/loader-utils");
48
48
  var import_tiles2 = require("@loaders.gl/tiles");
49
49
 
50
50
  // dist/lib/utils/version.js
51
- var VERSION = true ? "4.2.0-alpha.4" : "latest";
51
+ var VERSION = true ? "4.2.0-alpha.6" : "latest";
52
52
 
53
53
  // dist/lib/constants.js
54
54
  var TILE3D_TYPE = {
@@ -91,9 +91,11 @@ var import_core3 = require("@math.gl/core");
91
91
  // dist/lib/classes/tile-3d-feature-table.js
92
92
  var import_math = require("@loaders.gl/math");
93
93
  var Tile3DFeatureTable = class {
94
+ json;
95
+ buffer;
96
+ featuresLength = 0;
97
+ _cachedTypedArrays = {};
94
98
  constructor(featureTableJson, featureTableBinary) {
95
- this.featuresLength = 0;
96
- this._cachedTypedArrays = {};
97
99
  this.json = featureTableJson;
98
100
  this.buffer = featureTableBinary;
99
101
  }
@@ -471,6 +473,15 @@ var IGNORED_PROPERTY_FIELDS = {
471
473
  extras: true
472
474
  };
473
475
  var Tile3DBatchTableParser = class {
476
+ json;
477
+ binary;
478
+ featureCount;
479
+ _extensions;
480
+ // Copy all top-level property fields from the json object, ignoring special fields
481
+ _properties;
482
+ _binaryProperties;
483
+ // TODO: hierarchy support is only partially implemented and not tested
484
+ _hierarchy;
474
485
  constructor(json, binary, featureCount, options = {}) {
475
486
  var _a;
476
487
  (0, import_loader_utils3.assert)(featureCount >= 0);
@@ -1439,6 +1450,8 @@ function parseUint64Value(buffer) {
1439
1450
 
1440
1451
  // dist/tile-3d-subtree-loader.js
1441
1452
  var Tile3DSubtreeLoader = {
1453
+ dataType: null,
1454
+ batchType: null,
1442
1455
  id: "3d-tiles-subtree",
1443
1456
  name: "3D Tiles Subtree",
1444
1457
  module: "3d-tiles",
@@ -1947,7 +1960,7 @@ function calculateBoundingVolumeForChildTile(level, rootBoundingVolume, childCoo
1947
1960
  if (rootBoundingVolume.box) {
1948
1961
  return rootBoundingVolume;
1949
1962
  }
1950
- throw new Error(`Unsupported bounding volume type ${rootBoundingVolume}`);
1963
+ throw new Error(`Unsupported bounding volume type ${JSON.stringify(rootBoundingVolume)}`);
1951
1964
  }
1952
1965
  function concatBits(higher, lower, shift) {
1953
1966
  return (higher << shift) + lower;
@@ -2135,6 +2148,8 @@ function getImplicitTilingExtensionData(tile) {
2135
2148
 
2136
2149
  // dist/tiles-3d-loader.js
2137
2150
  var Tiles3DLoader = {
2151
+ dataType: null,
2152
+ batchType: null,
2138
2153
  id: "3d-tiles",
2139
2154
  name: "3D Tiles",
2140
2155
  module: "3d-tiles",
@@ -2297,6 +2312,8 @@ var COMPRESSION_METHODS = {
2297
2312
  8: (data) => new import_compression.DeflateCompression({ raw: true }).decompress(data)
2298
2313
  };
2299
2314
  var Tiles3DArchive = class extends import_zip.IndexedArchive {
2315
+ /** hash info */
2316
+ hashTable;
2300
2317
  /**
2301
2318
  * creates Tiles3DArchive handler
2302
2319
  * @param fileProvider - FileProvider with the whole file
@@ -2373,8 +2390,10 @@ var parse3DTilesArchive = async (fileProvider, cb) => {
2373
2390
  };
2374
2391
 
2375
2392
  // dist/3d-tiles-archive-loader.js
2376
- var VERSION2 = true ? "4.2.0-alpha.4" : "latest";
2393
+ var VERSION2 = true ? "4.2.0-alpha.6" : "latest";
2377
2394
  var Tiles3DArchiveFileLoader = {
2395
+ dataType: null,
2396
+ batchType: null,
2378
2397
  name: "3tz",
2379
2398
  id: "3tz",
2380
2399
  module: "3d-tiles",