@loaders.gl/3d-tiles 3.3.0-alpha.6 → 3.3.0-alpha.8
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.min.js +42 -68
- package/dist/es5/lib/utils/version.js +1 -1
- package/dist/esm/lib/utils/version.js +1 -1
- package/dist/types.d.ts +13 -13
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/dist.min.js
CHANGED
|
@@ -941,37 +941,6 @@
|
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
|
|
944
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js
|
|
945
|
-
var init_hi_res_timestamp = __esm({
|
|
946
|
-
"../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js"() {
|
|
947
|
-
}
|
|
948
|
-
});
|
|
949
|
-
|
|
950
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js
|
|
951
|
-
var init_stat = __esm({
|
|
952
|
-
"../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js"() {
|
|
953
|
-
init_defineProperty();
|
|
954
|
-
init_hi_res_timestamp();
|
|
955
|
-
}
|
|
956
|
-
});
|
|
957
|
-
|
|
958
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js
|
|
959
|
-
var init_stats = __esm({
|
|
960
|
-
"../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js"() {
|
|
961
|
-
init_defineProperty();
|
|
962
|
-
init_stat();
|
|
963
|
-
}
|
|
964
|
-
});
|
|
965
|
-
|
|
966
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/index.js
|
|
967
|
-
var init_esm = __esm({
|
|
968
|
-
"../../node_modules/@probe.gl/stats/dist/esm/index.js"() {
|
|
969
|
-
init_stats();
|
|
970
|
-
init_stat();
|
|
971
|
-
init_hi_res_timestamp();
|
|
972
|
-
}
|
|
973
|
-
});
|
|
974
|
-
|
|
975
944
|
// ../loader-utils/src/lib/path-utils/file-aliases.ts
|
|
976
945
|
function resolvePath(filename2) {
|
|
977
946
|
for (const alias in fileAliases) {
|
|
@@ -4030,7 +3999,7 @@
|
|
|
4030
3999
|
});
|
|
4031
4000
|
|
|
4032
4001
|
// ../../node_modules/@math.gl/core/dist/esm/index.js
|
|
4033
|
-
var
|
|
4002
|
+
var init_esm = __esm({
|
|
4034
4003
|
"../../node_modules/@math.gl/core/dist/esm/index.js"() {
|
|
4035
4004
|
init_vector2();
|
|
4036
4005
|
init_vector3();
|
|
@@ -4106,7 +4075,7 @@
|
|
|
4106
4075
|
var scratchVector;
|
|
4107
4076
|
var init_type_utils = __esm({
|
|
4108
4077
|
"../../node_modules/@math.gl/geospatial/dist/esm/type-utils.js"() {
|
|
4109
|
-
|
|
4078
|
+
init_esm();
|
|
4110
4079
|
init_constants();
|
|
4111
4080
|
scratchVector = new Vector3();
|
|
4112
4081
|
}
|
|
@@ -4171,7 +4140,7 @@
|
|
|
4171
4140
|
var scratchVector2, scaleToGeodeticSurfaceIntersection, scaleToGeodeticSurfaceGradient;
|
|
4172
4141
|
var init_scale_to_geodetic_surface = __esm({
|
|
4173
4142
|
"../../node_modules/@math.gl/geospatial/dist/esm/ellipsoid/helpers/scale-to-geodetic-surface.js"() {
|
|
4174
|
-
|
|
4143
|
+
init_esm();
|
|
4175
4144
|
scratchVector2 = new Vector3();
|
|
4176
4145
|
scaleToGeodeticSurfaceIntersection = new Vector3();
|
|
4177
4146
|
scaleToGeodeticSurfaceGradient = new Vector3();
|
|
@@ -4243,7 +4212,7 @@
|
|
|
4243
4212
|
var EPSILON14, scratchOrigin, VECTOR_PRODUCT_LOCAL_FRAME, degeneratePositionLocalFrame, scratchAxisVectors, scratchVector1, scratchVector22, scratchVector3;
|
|
4244
4213
|
var init_ellipsoid_transform = __esm({
|
|
4245
4214
|
"../../node_modules/@math.gl/geospatial/dist/esm/ellipsoid/helpers/ellipsoid-transform.js"() {
|
|
4246
|
-
|
|
4215
|
+
init_esm();
|
|
4247
4216
|
EPSILON14 = 1e-14;
|
|
4248
4217
|
scratchOrigin = new Vector3();
|
|
4249
4218
|
VECTOR_PRODUCT_LOCAL_FRAME = {
|
|
@@ -4311,7 +4280,7 @@
|
|
|
4311
4280
|
var init_ellipsoid = __esm({
|
|
4312
4281
|
"../../node_modules/@math.gl/geospatial/dist/esm/ellipsoid/ellipsoid.js"() {
|
|
4313
4282
|
init_defineProperty();
|
|
4314
|
-
|
|
4283
|
+
init_esm();
|
|
4315
4284
|
init_vec3();
|
|
4316
4285
|
init_constants();
|
|
4317
4286
|
init_type_utils();
|
|
@@ -4435,7 +4404,7 @@
|
|
|
4435
4404
|
});
|
|
4436
4405
|
|
|
4437
4406
|
// ../../node_modules/@math.gl/geospatial/dist/esm/index.js
|
|
4438
|
-
var
|
|
4407
|
+
var init_esm2 = __esm({
|
|
4439
4408
|
"../../node_modules/@math.gl/geospatial/dist/esm/index.js"() {
|
|
4440
4409
|
init_ellipsoid();
|
|
4441
4410
|
init_type_utils();
|
|
@@ -4700,7 +4669,7 @@
|
|
|
4700
4669
|
});
|
|
4701
4670
|
|
|
4702
4671
|
// ../../node_modules/@probe.gl/env/dist/esm/index.js
|
|
4703
|
-
var
|
|
4672
|
+
var init_esm3 = __esm({
|
|
4704
4673
|
"../../node_modules/@probe.gl/env/dist/esm/index.js"() {
|
|
4705
4674
|
init_globals4();
|
|
4706
4675
|
init_globals3();
|
|
@@ -4820,7 +4789,7 @@
|
|
|
4820
4789
|
var COLOR;
|
|
4821
4790
|
var init_color = __esm({
|
|
4822
4791
|
"../../node_modules/@probe.gl/log/dist/esm/utils/color.js"() {
|
|
4823
|
-
|
|
4792
|
+
init_esm3();
|
|
4824
4793
|
(function(COLOR2) {
|
|
4825
4794
|
COLOR2[COLOR2["BLACK"] = 30] = "BLACK";
|
|
4826
4795
|
COLOR2[COLOR2["RED"] = 31] = "RED";
|
|
@@ -4872,7 +4841,7 @@
|
|
|
4872
4841
|
});
|
|
4873
4842
|
|
|
4874
4843
|
// ../../node_modules/@probe.gl/log/dist/esm/utils/hi-res-timestamp.js
|
|
4875
|
-
function
|
|
4844
|
+
function getHiResTimestamp() {
|
|
4876
4845
|
let timestamp;
|
|
4877
4846
|
if (isBrowser3 && "performance" in window_3) {
|
|
4878
4847
|
var _window$performance, _window$performance$n;
|
|
@@ -4886,9 +4855,9 @@
|
|
|
4886
4855
|
}
|
|
4887
4856
|
return timestamp;
|
|
4888
4857
|
}
|
|
4889
|
-
var
|
|
4858
|
+
var init_hi_res_timestamp = __esm({
|
|
4890
4859
|
"../../node_modules/@probe.gl/log/dist/esm/utils/hi-res-timestamp.js"() {
|
|
4891
|
-
|
|
4860
|
+
init_esm3();
|
|
4892
4861
|
}
|
|
4893
4862
|
});
|
|
4894
4863
|
|
|
@@ -5011,13 +4980,13 @@
|
|
|
5011
4980
|
var init_log = __esm({
|
|
5012
4981
|
"../../node_modules/@probe.gl/log/dist/esm/log.js"() {
|
|
5013
4982
|
init_defineProperty();
|
|
5014
|
-
|
|
4983
|
+
init_esm3();
|
|
5015
4984
|
init_local_storage();
|
|
5016
4985
|
init_formatters();
|
|
5017
4986
|
init_color();
|
|
5018
4987
|
init_autobind();
|
|
5019
4988
|
init_assert4();
|
|
5020
|
-
|
|
4989
|
+
init_hi_res_timestamp();
|
|
5021
4990
|
init_node_asciify_image();
|
|
5022
4991
|
originalConsole = {
|
|
5023
4992
|
debug: isBrowser3 ? console.debug || console.log : console.log,
|
|
@@ -5043,8 +5012,8 @@
|
|
|
5043
5012
|
};
|
|
5044
5013
|
_defineProperty(this, "id", void 0);
|
|
5045
5014
|
_defineProperty(this, "VERSION", VERSION3);
|
|
5046
|
-
_defineProperty(this, "_startTs",
|
|
5047
|
-
_defineProperty(this, "_deltaTs",
|
|
5015
|
+
_defineProperty(this, "_startTs", getHiResTimestamp());
|
|
5016
|
+
_defineProperty(this, "_deltaTs", getHiResTimestamp());
|
|
5048
5017
|
_defineProperty(this, "_storage", void 0);
|
|
5049
5018
|
_defineProperty(this, "userData", {});
|
|
5050
5019
|
_defineProperty(this, "LOG_THROTTLE_TIMEOUT", 0);
|
|
@@ -5068,10 +5037,10 @@
|
|
|
5068
5037
|
return this._storage.config.level;
|
|
5069
5038
|
}
|
|
5070
5039
|
getTotal() {
|
|
5071
|
-
return Number((
|
|
5040
|
+
return Number((getHiResTimestamp() - this._startTs).toPrecision(10));
|
|
5072
5041
|
}
|
|
5073
5042
|
getDelta() {
|
|
5074
|
-
return Number((
|
|
5043
|
+
return Number((getHiResTimestamp() - this._deltaTs).toPrecision(10));
|
|
5075
5044
|
}
|
|
5076
5045
|
set priority(newPriority) {
|
|
5077
5046
|
this.level = newPriority;
|
|
@@ -5233,11 +5202,11 @@
|
|
|
5233
5202
|
assert5(method);
|
|
5234
5203
|
opts.total = this.getTotal();
|
|
5235
5204
|
opts.delta = this.getDelta();
|
|
5236
|
-
this._deltaTs =
|
|
5205
|
+
this._deltaTs = getHiResTimestamp();
|
|
5237
5206
|
const tag = opts.tag || opts.message;
|
|
5238
5207
|
if (opts.once) {
|
|
5239
5208
|
if (!cache[tag]) {
|
|
5240
|
-
cache[tag] =
|
|
5209
|
+
cache[tag] = getHiResTimestamp();
|
|
5241
5210
|
} else {
|
|
5242
5211
|
return noop;
|
|
5243
5212
|
}
|
|
@@ -5254,7 +5223,7 @@
|
|
|
5254
5223
|
|
|
5255
5224
|
// ../../node_modules/@probe.gl/log/dist/esm/index.js
|
|
5256
5225
|
var esm_default;
|
|
5257
|
-
var
|
|
5226
|
+
var init_esm4 = __esm({
|
|
5258
5227
|
"../../node_modules/@probe.gl/log/dist/esm/index.js"() {
|
|
5259
5228
|
init_log();
|
|
5260
5229
|
init_log();
|
|
@@ -5264,19 +5233,11 @@
|
|
|
5264
5233
|
}
|
|
5265
5234
|
});
|
|
5266
5235
|
|
|
5267
|
-
// ../../node_modules/probe.gl/dist/esm/index.js
|
|
5268
|
-
var init_esm6 = __esm({
|
|
5269
|
-
"../../node_modules/probe.gl/dist/esm/index.js"() {
|
|
5270
|
-
init_esm5();
|
|
5271
|
-
init_esm();
|
|
5272
|
-
}
|
|
5273
|
-
});
|
|
5274
|
-
|
|
5275
5236
|
// ../core/src/lib/loader-utils/loggers.ts
|
|
5276
5237
|
var probeLog, NullLog, ConsoleLog;
|
|
5277
5238
|
var init_loggers = __esm({
|
|
5278
5239
|
"../core/src/lib/loader-utils/loggers.ts"() {
|
|
5279
|
-
|
|
5240
|
+
init_esm4();
|
|
5280
5241
|
probeLog = new Log({ id: "loaders.gl" });
|
|
5281
5242
|
NullLog = class {
|
|
5282
5243
|
log() {
|
|
@@ -5534,7 +5495,7 @@
|
|
|
5534
5495
|
var log;
|
|
5535
5496
|
var init_log2 = __esm({
|
|
5536
5497
|
"../core/src/lib/utils/log.ts"() {
|
|
5537
|
-
|
|
5498
|
+
init_esm4();
|
|
5538
5499
|
log = new Log({ id: "loaders.gl" });
|
|
5539
5500
|
}
|
|
5540
5501
|
});
|
|
@@ -7365,7 +7326,7 @@
|
|
|
7365
7326
|
var RIGHT_SHIFT, scratchVector23, scratchVector32, scratchEncodeVector2, octEncodeScratch, uint8ForceArray;
|
|
7366
7327
|
var init_attribute_compression = __esm({
|
|
7367
7328
|
"../math/src/geometry/compression/attribute-compression.ts"() {
|
|
7368
|
-
|
|
7329
|
+
init_esm();
|
|
7369
7330
|
init_assert6();
|
|
7370
7331
|
RIGHT_SHIFT = 1 / 256;
|
|
7371
7332
|
scratchVector23 = new Vector2();
|
|
@@ -8178,7 +8139,7 @@
|
|
|
8178
8139
|
var scratchNormal2;
|
|
8179
8140
|
var init_normalize_3d_tile_normals = __esm({
|
|
8180
8141
|
"src/lib/parsers/helpers/normalize-3d-tile-normals.ts"() {
|
|
8181
|
-
|
|
8142
|
+
init_esm();
|
|
8182
8143
|
init_src7();
|
|
8183
8144
|
scratchNormal2 = new Vector3();
|
|
8184
8145
|
}
|
|
@@ -8210,7 +8171,7 @@
|
|
|
8210
8171
|
}
|
|
8211
8172
|
var init_normalize_3d_tile_positions = __esm({
|
|
8212
8173
|
"src/lib/parsers/helpers/normalize-3d-tile-positions.ts"() {
|
|
8213
|
-
|
|
8174
|
+
init_esm();
|
|
8214
8175
|
init_src7();
|
|
8215
8176
|
}
|
|
8216
8177
|
});
|
|
@@ -8406,7 +8367,7 @@
|
|
|
8406
8367
|
"src/lib/parsers/parse-3d-tile-point-cloud.ts"() {
|
|
8407
8368
|
init_src6();
|
|
8408
8369
|
init_src7();
|
|
8409
|
-
|
|
8370
|
+
init_esm();
|
|
8410
8371
|
init_tile_3d_feature_table();
|
|
8411
8372
|
init_tile_3d_batch_table();
|
|
8412
8373
|
init_parse_3d_tile_header();
|
|
@@ -9516,6 +9477,9 @@
|
|
|
9516
9477
|
getUsedExtensions() {
|
|
9517
9478
|
return this.json.extensionsUsed || [];
|
|
9518
9479
|
}
|
|
9480
|
+
getRemovedExtensions() {
|
|
9481
|
+
return this.json.extensionsRemoved || [];
|
|
9482
|
+
}
|
|
9519
9483
|
getObjectExtension(object, extensionName) {
|
|
9520
9484
|
const extensions = object.extensions || {};
|
|
9521
9485
|
return extensions[extensionName];
|
|
@@ -9640,6 +9604,9 @@
|
|
|
9640
9604
|
}
|
|
9641
9605
|
}
|
|
9642
9606
|
removeExtension(extensionName) {
|
|
9607
|
+
if (!this.getExtension(extensionName)) {
|
|
9608
|
+
return;
|
|
9609
|
+
}
|
|
9643
9610
|
if (this.json.extensionsRequired) {
|
|
9644
9611
|
this._removeStringFromArray(this.json.extensionsRequired, extensionName);
|
|
9645
9612
|
}
|
|
@@ -9649,6 +9616,13 @@
|
|
|
9649
9616
|
if (this.json.extensions) {
|
|
9650
9617
|
delete this.json.extensions[extensionName];
|
|
9651
9618
|
}
|
|
9619
|
+
if (!Array.isArray(this.json.extensionsRemoved)) {
|
|
9620
|
+
this.json.extensionsRemoved = [];
|
|
9621
|
+
}
|
|
9622
|
+
const extensionsRemoved = this.json.extensionsRemoved;
|
|
9623
|
+
if (!extensionsRemoved.includes(extensionName)) {
|
|
9624
|
+
extensionsRemoved.push(extensionName);
|
|
9625
|
+
}
|
|
9652
9626
|
}
|
|
9653
9627
|
setDefaultScene(sceneIndex) {
|
|
9654
9628
|
this.json.scene = sceneIndex;
|
|
@@ -10503,7 +10477,7 @@
|
|
|
10503
10477
|
var EXT_MESHOPT_TRANSFORM, name5, scratchVector5, scratchRotationMatrix, scratchScaleMatrix;
|
|
10504
10478
|
var init_KHR_texture_transform = __esm({
|
|
10505
10479
|
"../gltf/src/lib/extensions/KHR_texture_transform.ts"() {
|
|
10506
|
-
|
|
10480
|
+
init_esm();
|
|
10507
10481
|
init_gltf_utils();
|
|
10508
10482
|
init_gltf_constants();
|
|
10509
10483
|
init_gltf_scenegraph();
|
|
@@ -10575,7 +10549,6 @@
|
|
|
10575
10549
|
async function decode6(gltfData) {
|
|
10576
10550
|
const gltfScenegraph = new GLTFScenegraph(gltfData);
|
|
10577
10551
|
const { json } = gltfScenegraph;
|
|
10578
|
-
gltfScenegraph.removeExtension(KHR_MATERIALS_UNLIT);
|
|
10579
10552
|
for (const material of json.materials || []) {
|
|
10580
10553
|
const extension = material.extensions && material.extensions.KHR_materials_unlit;
|
|
10581
10554
|
if (extension) {
|
|
@@ -10583,6 +10556,7 @@
|
|
|
10583
10556
|
}
|
|
10584
10557
|
gltfScenegraph.removeObjectExtension(material, KHR_MATERIALS_UNLIT);
|
|
10585
10558
|
}
|
|
10559
|
+
gltfScenegraph.removeExtension(KHR_MATERIALS_UNLIT);
|
|
10586
10560
|
}
|
|
10587
10561
|
function encode3(gltfData) {
|
|
10588
10562
|
const gltfScenegraph = new GLTFScenegraph(gltfData);
|
|
@@ -11887,8 +11861,8 @@
|
|
|
11887
11861
|
}
|
|
11888
11862
|
var init_parse_3d_tile_instanced_model = __esm({
|
|
11889
11863
|
"src/lib/parsers/parse-3d-tile-instanced-model.ts"() {
|
|
11864
|
+
init_esm();
|
|
11890
11865
|
init_esm2();
|
|
11891
|
-
init_esm3();
|
|
11892
11866
|
init_src7();
|
|
11893
11867
|
init_tile_3d_feature_table();
|
|
11894
11868
|
init_tile_3d_batch_table();
|
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.VERSION = void 0;
|
|
7
|
-
var VERSION = typeof "3.3.0-alpha.
|
|
7
|
+
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
|
|
8
8
|
exports.VERSION = VERSION;
|
|
9
9
|
//# sourceMappingURL=version.js.map
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { GLTFPostprocessed } from '@loaders.gl/gltf';
|
|
2
2
|
import { Matrix4, Vector3 } from '@math.gl/core';
|
|
3
|
-
export
|
|
3
|
+
export type FeatureTableJson = {
|
|
4
4
|
[key: string]: any[];
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type B3DMContent = {
|
|
7
7
|
batchTableJson?: FeatureTableJson;
|
|
8
8
|
byteLength: number;
|
|
9
9
|
byteOffset: number;
|
|
@@ -24,14 +24,14 @@ export declare type B3DMContent = {
|
|
|
24
24
|
type: string;
|
|
25
25
|
version: number;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type GLTFHeader = {
|
|
28
28
|
batchLength?: number;
|
|
29
29
|
batchTableBinaryByteLength: number;
|
|
30
30
|
batchTableJsonByteLength: number;
|
|
31
31
|
featureTableBinaryByteLength: number;
|
|
32
32
|
featureTableJsonByteLength: number;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type Node3D = {
|
|
35
35
|
boundingVolume: BoundingVolume;
|
|
36
36
|
children: any;
|
|
37
37
|
geometricError: number;
|
|
@@ -40,7 +40,7 @@ export declare type Node3D = {
|
|
|
40
40
|
boundingVolume: BoundingVolume;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type BoundingVolume = {
|
|
44
44
|
box?: number[];
|
|
45
45
|
sphere?: number[];
|
|
46
46
|
region?: number[];
|
|
@@ -49,29 +49,29 @@ export declare type BoundingVolume = {
|
|
|
49
49
|
* 3DTILES_implicit_tiling types
|
|
50
50
|
* Spec - https://github.com/CesiumGS/3d-tiles/tree/main/extensions/3DTILES_implicit_tiling#subtree-file-format
|
|
51
51
|
*/
|
|
52
|
-
export
|
|
52
|
+
export type Subtree = {
|
|
53
53
|
buffers: Buffer[];
|
|
54
54
|
bufferViews: BufferView[];
|
|
55
55
|
tileAvailability: Availability;
|
|
56
56
|
contentAvailability: Availability;
|
|
57
57
|
childSubtreeAvailability: Availability;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type Availability = {
|
|
60
60
|
constant?: 0 | 1;
|
|
61
61
|
bufferView?: number;
|
|
62
62
|
explicitBitstream?: ExplicitBitstream;
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export type ExplicitBitstream = Uint8Array;
|
|
65
65
|
/**
|
|
66
66
|
* Spec - https://github.com/CesiumGS/3d-tiles/tree/main/extensions/3DTILES_implicit_tiling#subdivision-scheme
|
|
67
67
|
*/
|
|
68
|
-
export
|
|
69
|
-
|
|
68
|
+
export type SubdivisionScheme = 'QUADTREE' | 'OCTREE';
|
|
69
|
+
type Buffer = {
|
|
70
70
|
name: string;
|
|
71
71
|
uri?: string;
|
|
72
72
|
byteLength: number;
|
|
73
73
|
};
|
|
74
|
-
|
|
74
|
+
type BufferView = {
|
|
75
75
|
buffer: number;
|
|
76
76
|
byteOffset: number;
|
|
77
77
|
byteLength: number;
|
|
@@ -79,14 +79,14 @@ declare type BufferView = {
|
|
|
79
79
|
/**
|
|
80
80
|
* Spec - https://github.com/CesiumGS/3d-tiles/tree/main/extensions/3DTILES_implicit_tiling
|
|
81
81
|
*/
|
|
82
|
-
export
|
|
82
|
+
export type ImplicitTilingExtension = {
|
|
83
83
|
subdivisionScheme: 'QUADTREE' | 'OCTREE';
|
|
84
84
|
maximumLevel?: number;
|
|
85
85
|
availableLevels: number;
|
|
86
86
|
subtreeLevels: number;
|
|
87
87
|
subtrees: SubtreeUri;
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
type SubtreeUri = {
|
|
90
90
|
uri: string;
|
|
91
91
|
};
|
|
92
92
|
export {};
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAC,OAAO,EAAE,OAAO,EAAC,MAAM,eAAe,CAAC;AAE/C,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/3d-tiles",
|
|
3
|
-
"version": "3.3.0-alpha.
|
|
3
|
+
"version": "3.3.0-alpha.8",
|
|
4
4
|
"description": "3D Tiles, an open standard for streaming massive heterogeneous 3D geospatial datasets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"build-bundle": "esbuild src/bundle.ts --bundle --outfile=dist/dist.min.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@loaders.gl/draco": "3.3.0-alpha.
|
|
38
|
-
"@loaders.gl/gltf": "3.3.0-alpha.
|
|
39
|
-
"@loaders.gl/loader-utils": "3.3.0-alpha.
|
|
40
|
-
"@loaders.gl/math": "3.3.0-alpha.
|
|
41
|
-
"@loaders.gl/tiles": "3.3.0-alpha.
|
|
37
|
+
"@loaders.gl/draco": "3.3.0-alpha.8",
|
|
38
|
+
"@loaders.gl/gltf": "3.3.0-alpha.8",
|
|
39
|
+
"@loaders.gl/loader-utils": "3.3.0-alpha.8",
|
|
40
|
+
"@loaders.gl/math": "3.3.0-alpha.8",
|
|
41
|
+
"@loaders.gl/tiles": "3.3.0-alpha.8",
|
|
42
42
|
"@math.gl/core": "^3.5.1",
|
|
43
43
|
"@math.gl/geospatial": "^3.5.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@loaders.gl/core": "^3.2.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "69cfde0340328dd800c7c90151b56b406f47e9ae"
|
|
49
49
|
}
|