@loaders.gl/i3s 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 +37 -76
- package/dist/es5/arcgis-webscene-loader.js +1 -1
- package/dist/es5/i3s-attribute-loader.js +1 -1
- package/dist/es5/i3s-building-scene-layer-loader.js +1 -1
- package/dist/es5/i3s-content-loader.js +1 -1
- package/dist/es5/i3s-loader.js +1 -1
- package/dist/es5/i3s-node-page-loader.js +1 -1
- package/dist/esm/arcgis-webscene-loader.js +1 -1
- package/dist/esm/i3s-attribute-loader.js +1 -1
- package/dist/esm/i3s-building-scene-layer-loader.js +1 -1
- package/dist/esm/i3s-content-loader.js +1 -1
- package/dist/esm/i3s-loader.js +1 -1
- package/dist/esm/i3s-node-page-loader.js +1 -1
- package/dist/i3s-content-nodejs-worker.js +50 -50
- package/dist/i3s-content-nodejs-worker.js.map +3 -3
- package/dist/i3s-content-worker.js +15 -15
- package/dist/i3s-loader.d.ts +1 -1
- package/dist/i3s-loader.d.ts.map +1 -1
- package/dist/types.d.ts +89 -89
- package/dist/types.d.ts.map +1 -1
- package/package.json +9 -10
package/dist/dist.min.js
CHANGED
|
@@ -811,37 +811,6 @@
|
|
|
811
811
|
}
|
|
812
812
|
});
|
|
813
813
|
|
|
814
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js
|
|
815
|
-
var init_hi_res_timestamp = __esm({
|
|
816
|
-
"../../node_modules/@probe.gl/stats/dist/esm/utils/hi-res-timestamp.js"() {
|
|
817
|
-
}
|
|
818
|
-
});
|
|
819
|
-
|
|
820
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js
|
|
821
|
-
var init_stat = __esm({
|
|
822
|
-
"../../node_modules/@probe.gl/stats/dist/esm/lib/stat.js"() {
|
|
823
|
-
init_defineProperty();
|
|
824
|
-
init_hi_res_timestamp();
|
|
825
|
-
}
|
|
826
|
-
});
|
|
827
|
-
|
|
828
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js
|
|
829
|
-
var init_stats = __esm({
|
|
830
|
-
"../../node_modules/@probe.gl/stats/dist/esm/lib/stats.js"() {
|
|
831
|
-
init_defineProperty();
|
|
832
|
-
init_stat();
|
|
833
|
-
}
|
|
834
|
-
});
|
|
835
|
-
|
|
836
|
-
// ../../node_modules/@probe.gl/stats/dist/esm/index.js
|
|
837
|
-
var init_esm = __esm({
|
|
838
|
-
"../../node_modules/@probe.gl/stats/dist/esm/index.js"() {
|
|
839
|
-
init_stats();
|
|
840
|
-
init_stat();
|
|
841
|
-
init_hi_res_timestamp();
|
|
842
|
-
}
|
|
843
|
-
});
|
|
844
|
-
|
|
845
814
|
// ../loader-utils/src/lib/path-utils/file-aliases.ts
|
|
846
815
|
function resolvePath(filename2) {
|
|
847
816
|
for (const alias in fileAliases) {
|
|
@@ -1192,7 +1161,7 @@
|
|
|
1192
1161
|
});
|
|
1193
1162
|
|
|
1194
1163
|
// ../../node_modules/@probe.gl/env/dist/esm/index.js
|
|
1195
|
-
var
|
|
1164
|
+
var init_esm = __esm({
|
|
1196
1165
|
"../../node_modules/@probe.gl/env/dist/esm/index.js"() {
|
|
1197
1166
|
init_globals4();
|
|
1198
1167
|
init_globals3();
|
|
@@ -1312,7 +1281,7 @@
|
|
|
1312
1281
|
var COLOR;
|
|
1313
1282
|
var init_color = __esm({
|
|
1314
1283
|
"../../node_modules/@probe.gl/log/dist/esm/utils/color.js"() {
|
|
1315
|
-
|
|
1284
|
+
init_esm();
|
|
1316
1285
|
(function(COLOR2) {
|
|
1317
1286
|
COLOR2[COLOR2["BLACK"] = 30] = "BLACK";
|
|
1318
1287
|
COLOR2[COLOR2["RED"] = 31] = "RED";
|
|
@@ -1364,7 +1333,7 @@
|
|
|
1364
1333
|
});
|
|
1365
1334
|
|
|
1366
1335
|
// ../../node_modules/@probe.gl/log/dist/esm/utils/hi-res-timestamp.js
|
|
1367
|
-
function
|
|
1336
|
+
function getHiResTimestamp() {
|
|
1368
1337
|
let timestamp;
|
|
1369
1338
|
if (isBrowser3 && "performance" in window_3) {
|
|
1370
1339
|
var _window$performance, _window$performance$n;
|
|
@@ -1378,9 +1347,9 @@
|
|
|
1378
1347
|
}
|
|
1379
1348
|
return timestamp;
|
|
1380
1349
|
}
|
|
1381
|
-
var
|
|
1350
|
+
var init_hi_res_timestamp = __esm({
|
|
1382
1351
|
"../../node_modules/@probe.gl/log/dist/esm/utils/hi-res-timestamp.js"() {
|
|
1383
|
-
|
|
1352
|
+
init_esm();
|
|
1384
1353
|
}
|
|
1385
1354
|
});
|
|
1386
1355
|
|
|
@@ -1503,13 +1472,13 @@
|
|
|
1503
1472
|
var init_log = __esm({
|
|
1504
1473
|
"../../node_modules/@probe.gl/log/dist/esm/log.js"() {
|
|
1505
1474
|
init_defineProperty();
|
|
1506
|
-
|
|
1475
|
+
init_esm();
|
|
1507
1476
|
init_local_storage();
|
|
1508
1477
|
init_formatters();
|
|
1509
1478
|
init_color();
|
|
1510
1479
|
init_autobind();
|
|
1511
1480
|
init_assert3();
|
|
1512
|
-
|
|
1481
|
+
init_hi_res_timestamp();
|
|
1513
1482
|
init_node_asciify_image();
|
|
1514
1483
|
originalConsole = {
|
|
1515
1484
|
debug: isBrowser3 ? console.debug || console.log : console.log,
|
|
@@ -1535,8 +1504,8 @@
|
|
|
1535
1504
|
};
|
|
1536
1505
|
_defineProperty(this, "id", void 0);
|
|
1537
1506
|
_defineProperty(this, "VERSION", VERSION4);
|
|
1538
|
-
_defineProperty(this, "_startTs",
|
|
1539
|
-
_defineProperty(this, "_deltaTs",
|
|
1507
|
+
_defineProperty(this, "_startTs", getHiResTimestamp());
|
|
1508
|
+
_defineProperty(this, "_deltaTs", getHiResTimestamp());
|
|
1540
1509
|
_defineProperty(this, "_storage", void 0);
|
|
1541
1510
|
_defineProperty(this, "userData", {});
|
|
1542
1511
|
_defineProperty(this, "LOG_THROTTLE_TIMEOUT", 0);
|
|
@@ -1560,10 +1529,10 @@
|
|
|
1560
1529
|
return this._storage.config.level;
|
|
1561
1530
|
}
|
|
1562
1531
|
getTotal() {
|
|
1563
|
-
return Number((
|
|
1532
|
+
return Number((getHiResTimestamp() - this._startTs).toPrecision(10));
|
|
1564
1533
|
}
|
|
1565
1534
|
getDelta() {
|
|
1566
|
-
return Number((
|
|
1535
|
+
return Number((getHiResTimestamp() - this._deltaTs).toPrecision(10));
|
|
1567
1536
|
}
|
|
1568
1537
|
set priority(newPriority) {
|
|
1569
1538
|
this.level = newPriority;
|
|
@@ -1725,11 +1694,11 @@
|
|
|
1725
1694
|
assert3(method);
|
|
1726
1695
|
opts.total = this.getTotal();
|
|
1727
1696
|
opts.delta = this.getDelta();
|
|
1728
|
-
this._deltaTs =
|
|
1697
|
+
this._deltaTs = getHiResTimestamp();
|
|
1729
1698
|
const tag = opts.tag || opts.message;
|
|
1730
1699
|
if (opts.once) {
|
|
1731
1700
|
if (!cache[tag]) {
|
|
1732
|
-
cache[tag] =
|
|
1701
|
+
cache[tag] = getHiResTimestamp();
|
|
1733
1702
|
} else {
|
|
1734
1703
|
return noop;
|
|
1735
1704
|
}
|
|
@@ -1746,7 +1715,7 @@
|
|
|
1746
1715
|
|
|
1747
1716
|
// ../../node_modules/@probe.gl/log/dist/esm/index.js
|
|
1748
1717
|
var esm_default;
|
|
1749
|
-
var
|
|
1718
|
+
var init_esm2 = __esm({
|
|
1750
1719
|
"../../node_modules/@probe.gl/log/dist/esm/index.js"() {
|
|
1751
1720
|
init_log();
|
|
1752
1721
|
init_log();
|
|
@@ -1756,19 +1725,11 @@
|
|
|
1756
1725
|
}
|
|
1757
1726
|
});
|
|
1758
1727
|
|
|
1759
|
-
// ../../node_modules/probe.gl/dist/esm/index.js
|
|
1760
|
-
var init_esm4 = __esm({
|
|
1761
|
-
"../../node_modules/probe.gl/dist/esm/index.js"() {
|
|
1762
|
-
init_esm3();
|
|
1763
|
-
init_esm();
|
|
1764
|
-
}
|
|
1765
|
-
});
|
|
1766
|
-
|
|
1767
1728
|
// ../core/src/lib/loader-utils/loggers.ts
|
|
1768
1729
|
var probeLog, NullLog, ConsoleLog;
|
|
1769
1730
|
var init_loggers = __esm({
|
|
1770
1731
|
"../core/src/lib/loader-utils/loggers.ts"() {
|
|
1771
|
-
|
|
1732
|
+
init_esm2();
|
|
1772
1733
|
probeLog = new Log({ id: "loaders.gl" });
|
|
1773
1734
|
NullLog = class {
|
|
1774
1735
|
log() {
|
|
@@ -2026,7 +1987,7 @@
|
|
|
2026
1987
|
var log;
|
|
2027
1988
|
var init_log2 = __esm({
|
|
2028
1989
|
"../core/src/lib/utils/log.ts"() {
|
|
2029
|
-
|
|
1990
|
+
init_esm2();
|
|
2030
1991
|
log = new Log({ id: "loaders.gl" });
|
|
2031
1992
|
}
|
|
2032
1993
|
});
|
|
@@ -5441,7 +5402,7 @@
|
|
|
5441
5402
|
});
|
|
5442
5403
|
|
|
5443
5404
|
// ../../node_modules/@math.gl/core/dist/esm/index.js
|
|
5444
|
-
var
|
|
5405
|
+
var init_esm3 = __esm({
|
|
5445
5406
|
"../../node_modules/@math.gl/core/dist/esm/index.js"() {
|
|
5446
5407
|
init_vector3();
|
|
5447
5408
|
init_matrix3();
|
|
@@ -5516,7 +5477,7 @@
|
|
|
5516
5477
|
var scratchVector;
|
|
5517
5478
|
var init_type_utils = __esm({
|
|
5518
5479
|
"../../node_modules/@math.gl/geospatial/dist/esm/type-utils.js"() {
|
|
5519
|
-
|
|
5480
|
+
init_esm3();
|
|
5520
5481
|
init_constants();
|
|
5521
5482
|
scratchVector = new Vector3();
|
|
5522
5483
|
}
|
|
@@ -5581,7 +5542,7 @@
|
|
|
5581
5542
|
var scratchVector2, scaleToGeodeticSurfaceIntersection, scaleToGeodeticSurfaceGradient;
|
|
5582
5543
|
var init_scale_to_geodetic_surface = __esm({
|
|
5583
5544
|
"../../node_modules/@math.gl/geospatial/dist/esm/ellipsoid/helpers/scale-to-geodetic-surface.js"() {
|
|
5584
|
-
|
|
5545
|
+
init_esm3();
|
|
5585
5546
|
scratchVector2 = new Vector3();
|
|
5586
5547
|
scaleToGeodeticSurfaceIntersection = new Vector3();
|
|
5587
5548
|
scaleToGeodeticSurfaceGradient = new Vector3();
|
|
@@ -5653,7 +5614,7 @@
|
|
|
5653
5614
|
var EPSILON14, scratchOrigin, VECTOR_PRODUCT_LOCAL_FRAME, degeneratePositionLocalFrame, scratchAxisVectors, scratchVector1, scratchVector22, scratchVector3;
|
|
5654
5615
|
var init_ellipsoid_transform = __esm({
|
|
5655
5616
|
"../../node_modules/@math.gl/geospatial/dist/esm/ellipsoid/helpers/ellipsoid-transform.js"() {
|
|
5656
|
-
|
|
5617
|
+
init_esm3();
|
|
5657
5618
|
EPSILON14 = 1e-14;
|
|
5658
5619
|
scratchOrigin = new Vector3();
|
|
5659
5620
|
VECTOR_PRODUCT_LOCAL_FRAME = {
|
|
@@ -5721,7 +5682,7 @@
|
|
|
5721
5682
|
var init_ellipsoid = __esm({
|
|
5722
5683
|
"../../node_modules/@math.gl/geospatial/dist/esm/ellipsoid/ellipsoid.js"() {
|
|
5723
5684
|
init_defineProperty();
|
|
5724
|
-
|
|
5685
|
+
init_esm3();
|
|
5725
5686
|
init_vec3();
|
|
5726
5687
|
init_constants();
|
|
5727
5688
|
init_type_utils();
|
|
@@ -5845,7 +5806,7 @@
|
|
|
5845
5806
|
});
|
|
5846
5807
|
|
|
5847
5808
|
// ../../node_modules/@math.gl/geospatial/dist/esm/index.js
|
|
5848
|
-
var
|
|
5809
|
+
var init_esm4 = __esm({
|
|
5849
5810
|
"../../node_modules/@math.gl/geospatial/dist/esm/index.js"() {
|
|
5850
5811
|
init_ellipsoid();
|
|
5851
5812
|
init_type_utils();
|
|
@@ -8435,7 +8396,7 @@
|
|
|
8435
8396
|
|
|
8436
8397
|
// ../../node_modules/@luma.gl/constants/dist/esm/index.js
|
|
8437
8398
|
var esm_default2;
|
|
8438
|
-
var
|
|
8399
|
+
var init_esm5 = __esm({
|
|
8439
8400
|
"../../node_modules/@luma.gl/constants/dist/esm/index.js"() {
|
|
8440
8401
|
esm_default2 = {
|
|
8441
8402
|
DEPTH_BUFFER_BIT: 256,
|
|
@@ -9095,7 +9056,7 @@
|
|
|
9095
9056
|
var GL_TYPE_MAP, STRING_ATTRIBUTE_TYPE, OBJECT_ID_ATTRIBUTE_TYPE, FLOAT_64_TYPE, INT_16_ATTRIBUTE_TYPE, COORDINATE_SYSTEM;
|
|
9096
9057
|
var init_constants2 = __esm({
|
|
9097
9058
|
"src/lib/parsers/constants.ts"() {
|
|
9098
|
-
|
|
9059
|
+
init_esm5();
|
|
9099
9060
|
init_types();
|
|
9100
9061
|
GL_TYPE_MAP = {
|
|
9101
9062
|
UInt8: esm_default2.UNSIGNED_BYTE,
|
|
@@ -9737,8 +9698,8 @@
|
|
|
9737
9698
|
var init_parse_i3s_tile_content = __esm({
|
|
9738
9699
|
"src/lib/parsers/parse-i3s-tile-content.ts"() {
|
|
9739
9700
|
init_src3();
|
|
9740
|
-
|
|
9741
|
-
|
|
9701
|
+
init_esm3();
|
|
9702
|
+
init_esm4();
|
|
9742
9703
|
init_src4();
|
|
9743
9704
|
init_src6();
|
|
9744
9705
|
init_src7();
|
|
@@ -9800,7 +9761,7 @@
|
|
|
9800
9761
|
var init_axis_aligned_bounding_box = __esm({
|
|
9801
9762
|
"../../node_modules/@math.gl/culling/dist/esm/lib/bounding-volumes/axis-aligned-bounding-box.js"() {
|
|
9802
9763
|
init_defineProperty();
|
|
9803
|
-
|
|
9764
|
+
init_esm3();
|
|
9804
9765
|
init_constants3();
|
|
9805
9766
|
scratchVector6 = new Vector3();
|
|
9806
9767
|
scratchNormal2 = new Vector3();
|
|
@@ -9812,7 +9773,7 @@
|
|
|
9812
9773
|
var init_bounding_sphere = __esm({
|
|
9813
9774
|
"../../node_modules/@math.gl/culling/dist/esm/lib/bounding-volumes/bounding-sphere.js"() {
|
|
9814
9775
|
init_defineProperty();
|
|
9815
|
-
|
|
9776
|
+
init_esm3();
|
|
9816
9777
|
init_mat4();
|
|
9817
9778
|
init_constants3();
|
|
9818
9779
|
scratchVector7 = new Vector3();
|
|
@@ -9906,7 +9867,7 @@
|
|
|
9906
9867
|
var init_oriented_bounding_box = __esm({
|
|
9907
9868
|
"../../node_modules/@math.gl/culling/dist/esm/lib/bounding-volumes/oriented-bounding-box.js"() {
|
|
9908
9869
|
init_defineProperty();
|
|
9909
|
-
|
|
9870
|
+
init_esm3();
|
|
9910
9871
|
init_bounding_sphere();
|
|
9911
9872
|
init_constants3();
|
|
9912
9873
|
scratchVector32 = new Vector3();
|
|
@@ -10103,7 +10064,7 @@
|
|
|
10103
10064
|
var init_plane = __esm({
|
|
10104
10065
|
"../../node_modules/@math.gl/culling/dist/esm/lib/plane.js"() {
|
|
10105
10066
|
init_defineProperty();
|
|
10106
|
-
|
|
10067
|
+
init_esm3();
|
|
10107
10068
|
scratchPosition2 = new Vector3();
|
|
10108
10069
|
scratchNormal3 = new Vector3();
|
|
10109
10070
|
Plane = class {
|
|
@@ -10162,7 +10123,7 @@
|
|
|
10162
10123
|
var init_culling_volume = __esm({
|
|
10163
10124
|
"../../node_modules/@math.gl/culling/dist/esm/lib/culling-volume.js"() {
|
|
10164
10125
|
init_defineProperty();
|
|
10165
|
-
|
|
10126
|
+
init_esm3();
|
|
10166
10127
|
init_constants3();
|
|
10167
10128
|
init_plane();
|
|
10168
10129
|
faces = [new Vector3([1, 0, 0]), new Vector3([0, 1, 0]), new Vector3([0, 0, 1])];
|
|
@@ -10248,7 +10209,7 @@
|
|
|
10248
10209
|
var init_perspective_off_center_frustum = __esm({
|
|
10249
10210
|
"../../node_modules/@math.gl/culling/dist/esm/lib/perspective-off-center-frustum.js"() {
|
|
10250
10211
|
init_defineProperty();
|
|
10251
|
-
|
|
10212
|
+
init_esm3();
|
|
10252
10213
|
init_culling_volume();
|
|
10253
10214
|
init_plane();
|
|
10254
10215
|
scratchPlaneUpVector = new Vector3();
|
|
@@ -10271,7 +10232,7 @@
|
|
|
10271
10232
|
var fromPointsXMin, fromPointsYMin, fromPointsZMin, fromPointsXMax, fromPointsYMax, fromPointsZMax, fromPointsCurrentPos, fromPointsScratch, fromPointsRitterCenter, fromPointsMinBoxPt, fromPointsMaxBoxPt, fromPointsNaiveCenterScratch, volumeConstant;
|
|
10272
10233
|
var init_bounding_sphere_from_points = __esm({
|
|
10273
10234
|
"../../node_modules/@math.gl/culling/dist/esm/lib/algorithms/bounding-sphere-from-points.js"() {
|
|
10274
|
-
|
|
10235
|
+
init_esm3();
|
|
10275
10236
|
init_bounding_sphere();
|
|
10276
10237
|
fromPointsXMin = new Vector3();
|
|
10277
10238
|
fromPointsYMin = new Vector3();
|
|
@@ -10293,7 +10254,7 @@
|
|
|
10293
10254
|
var scratchMatrix, scratchUnitary, scratchDiagonal, jMatrix, jMatrixTranspose;
|
|
10294
10255
|
var init_compute_eigen_decomposition = __esm({
|
|
10295
10256
|
"../../node_modules/@math.gl/culling/dist/esm/lib/algorithms/compute-eigen-decomposition.js"() {
|
|
10296
|
-
|
|
10257
|
+
init_esm3();
|
|
10297
10258
|
scratchMatrix = new Matrix3();
|
|
10298
10259
|
scratchUnitary = new Matrix3();
|
|
10299
10260
|
scratchDiagonal = new Matrix3();
|
|
@@ -10306,7 +10267,7 @@
|
|
|
10306
10267
|
var scratchVector24, scratchVector33, scratchVector42, scratchVector52, scratchVector62, scratchCovarianceResult, scratchEigenResult;
|
|
10307
10268
|
var init_bounding_box_from_points = __esm({
|
|
10308
10269
|
"../../node_modules/@math.gl/culling/dist/esm/lib/algorithms/bounding-box-from-points.js"() {
|
|
10309
|
-
|
|
10270
|
+
init_esm3();
|
|
10310
10271
|
init_compute_eigen_decomposition();
|
|
10311
10272
|
init_oriented_bounding_box();
|
|
10312
10273
|
init_axis_aligned_bounding_box();
|
|
@@ -10324,7 +10285,7 @@
|
|
|
10324
10285
|
});
|
|
10325
10286
|
|
|
10326
10287
|
// ../../node_modules/@math.gl/culling/dist/esm/index.js
|
|
10327
|
-
var
|
|
10288
|
+
var init_esm6 = __esm({
|
|
10328
10289
|
"../../node_modules/@math.gl/culling/dist/esm/index.js"() {
|
|
10329
10290
|
init_constants3();
|
|
10330
10291
|
init_axis_aligned_bounding_box();
|
|
@@ -10648,8 +10609,8 @@
|
|
|
10648
10609
|
}
|
|
10649
10610
|
var init_parse_i3s = __esm({
|
|
10650
10611
|
"src/lib/parsers/parse-i3s.ts"() {
|
|
10651
|
-
init_esm8();
|
|
10652
10612
|
init_esm6();
|
|
10613
|
+
init_esm4();
|
|
10653
10614
|
init_src3();
|
|
10654
10615
|
init_src8();
|
|
10655
10616
|
init_i3s_nodepages_tiles();
|
|
@@ -8,7 +8,7 @@ exports.ArcGisWebSceneLoader = void 0;
|
|
|
8
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
10
|
var _parseArcgisWebscene = require("./lib/parsers/parse-arcgis-webscene");
|
|
11
|
-
var VERSION = typeof "3.3.0-alpha.
|
|
11
|
+
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'beta';
|
|
12
12
|
|
|
13
13
|
var ArcGisWebSceneLoader = {
|
|
14
14
|
name: 'ArcGIS Web Scene Loader',
|
|
@@ -15,7 +15,7 @@ var _parseI3sAttribute = require("./lib/parsers/parse-i3s-attribute");
|
|
|
15
15
|
var _urlUtils = require("./lib/utils/url-utils");
|
|
16
16
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17
17
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
18
|
-
var VERSION = typeof "3.3.0-alpha.
|
|
18
|
+
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
|
|
19
19
|
var EMPTY_VALUE = '';
|
|
20
20
|
var REJECTED_STATUS = 'rejected';
|
|
21
21
|
var I3SAttributeLoader = {
|
|
@@ -9,7 +9,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
9
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
10
|
var _parseI3sBuildingSceneLayer = require("./lib/parsers/parse-i3s-building-scene-layer");
|
|
11
11
|
|
|
12
|
-
var VERSION = typeof "3.3.0-alpha.
|
|
12
|
+
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'beta';
|
|
13
13
|
var I3SBuildingSceneLayerLoader = {
|
|
14
14
|
name: 'I3S Building Scene Layer',
|
|
15
15
|
id: 'i3s-building-scene-layer',
|
|
@@ -10,7 +10,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
10
10
|
var _workerUtils = require("@loaders.gl/worker-utils");
|
|
11
11
|
var _parseI3sTileContent = require("./lib/parsers/parse-i3s-tile-content");
|
|
12
12
|
|
|
13
|
-
var VERSION = typeof "3.3.0-alpha.
|
|
13
|
+
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'beta';
|
|
14
14
|
var I3SContentLoader = {
|
|
15
15
|
name: 'I3S Content (Indexed Scene Layers)',
|
|
16
16
|
id: _workerUtils.isBrowser ? 'i3s-content' : 'i3s-content-nodejs',
|
package/dist/es5/i3s-loader.js
CHANGED
|
@@ -12,7 +12,7 @@ var _core = require("@loaders.gl/core");
|
|
|
12
12
|
var _i3sContentLoader = require("./i3s-content-loader");
|
|
13
13
|
var _parseI3s = require("./lib/parsers/parse-i3s");
|
|
14
14
|
var _constants = require("./lib/parsers/constants");
|
|
15
|
-
var VERSION = typeof "3.3.0-alpha.
|
|
15
|
+
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
|
|
16
16
|
var TILESET_REGEX = /layers\/[0-9]+$/;
|
|
17
17
|
var TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
|
|
18
18
|
var SLPK_HEX = '504b0304';
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.I3SNodePageLoader = void 0;
|
|
8
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
|
-
var VERSION = typeof "3.3.0-alpha.
|
|
10
|
+
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
|
|
11
11
|
function parseNodePage(_x) {
|
|
12
12
|
return _parseNodePage.apply(this, arguments);
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseWebscene } from './lib/parsers/parse-arcgis-webscene';
|
|
2
2
|
|
|
3
|
-
const VERSION = typeof "3.3.0-alpha.
|
|
3
|
+
const VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'beta';
|
|
4
4
|
|
|
5
5
|
export const ArcGisWebSceneLoader = {
|
|
6
6
|
name: 'ArcGIS Web Scene Loader',
|
|
@@ -2,7 +2,7 @@ import { load } from '@loaders.gl/core';
|
|
|
2
2
|
import { parseI3STileAttribute } from './lib/parsers/parse-i3s-attribute';
|
|
3
3
|
import { getUrlWithToken } from './lib/utils/url-utils';
|
|
4
4
|
|
|
5
|
-
const VERSION = typeof "3.3.0-alpha.
|
|
5
|
+
const VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
|
|
6
6
|
const EMPTY_VALUE = '';
|
|
7
7
|
const REJECTED_STATUS = 'rejected';
|
|
8
8
|
export const I3SAttributeLoader = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseBuildingSceneLayer } from './lib/parsers/parse-i3s-building-scene-layer';
|
|
2
2
|
|
|
3
|
-
const VERSION = typeof "3.3.0-alpha.
|
|
3
|
+
const VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'beta';
|
|
4
4
|
export const I3SBuildingSceneLayerLoader = {
|
|
5
5
|
name: 'I3S Building Scene Layer',
|
|
6
6
|
id: 'i3s-building-scene-layer',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isBrowser } from '@loaders.gl/worker-utils';
|
|
2
2
|
import { parseI3STileContent } from './lib/parsers/parse-i3s-tile-content';
|
|
3
3
|
|
|
4
|
-
const VERSION = typeof "3.3.0-alpha.
|
|
4
|
+
const VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'beta';
|
|
5
5
|
export const I3SContentLoader = {
|
|
6
6
|
name: 'I3S Content (Indexed Scene Layers)',
|
|
7
7
|
id: isBrowser ? 'i3s-content' : 'i3s-content-nodejs',
|
package/dist/esm/i3s-loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { parse } from '@loaders.gl/core';
|
|
|
2
2
|
import { I3SContentLoader } from './i3s-content-loader';
|
|
3
3
|
import { normalizeTileData, normalizeTilesetData } from './lib/parsers/parse-i3s';
|
|
4
4
|
import { COORDINATE_SYSTEM } from './lib/parsers/constants';
|
|
5
|
-
const VERSION = typeof "3.3.0-alpha.
|
|
5
|
+
const VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest';
|
|
6
6
|
const TILESET_REGEX = /layers\/[0-9]+$/;
|
|
7
7
|
const TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
|
|
8
8
|
const SLPK_HEX = '504b0304';
|