bruce-cesium 3.3.4 → 3.3.6
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/bruce-cesium.es5.js +27 -31
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +26 -30
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/tileset-render-engine.js +25 -29
- package/dist/lib/rendering/tileset-render-engine.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-cesium.umd.js
CHANGED
|
@@ -9740,7 +9740,7 @@
|
|
|
9740
9740
|
case 4:
|
|
9741
9741
|
setTimeout(function () {
|
|
9742
9742
|
_this.runningQueues -= 1;
|
|
9743
|
-
if (rerun) {
|
|
9743
|
+
if (rerun || _this.recordLoadQueue.length > 0) {
|
|
9744
9744
|
_this.processQueue();
|
|
9745
9745
|
}
|
|
9746
9746
|
}, BATCH_DELAY);
|
|
@@ -9800,31 +9800,29 @@
|
|
|
9800
9800
|
styleMapping = [];
|
|
9801
9801
|
}
|
|
9802
9802
|
this.styleMapping = styleMapping;
|
|
9803
|
-
//
|
|
9804
|
-
//
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
});
|
|
9818
|
-
}
|
|
9819
|
-
};
|
|
9820
|
-
for (i = 0; i < entityTypeIds.length; i++) {
|
|
9821
|
-
_loop_2(i);
|
|
9803
|
+
// Append all found entity-types.
|
|
9804
|
+
// That way we can mark them as loaded instead of just the ones in the style mapping.
|
|
9805
|
+
try {
|
|
9806
|
+
modelTree = (_b = (_a = this.cTileset) === null || _a === void 0 ? void 0 : _a.extensions) === null || _b === void 0 ? void 0 : _b.modelTree;
|
|
9807
|
+
if (modelTree) {
|
|
9808
|
+
entityTypeIds = this.getEntityTypeIdsFromModelTree(modelTree);
|
|
9809
|
+
_loop_2 = function (i) {
|
|
9810
|
+
var entityTypeId = entityTypeIds[i];
|
|
9811
|
+
if (styleMapping.findIndex(function (x) { return x.EntityTypeID == entityTypeId; }) <= -1) {
|
|
9812
|
+
styleMapping.push({
|
|
9813
|
+
EntityTypeID: entityTypeId,
|
|
9814
|
+
StyleID: null,
|
|
9815
|
+
style: null
|
|
9816
|
+
});
|
|
9822
9817
|
}
|
|
9818
|
+
};
|
|
9819
|
+
for (i = 0; i < entityTypeIds.length; i++) {
|
|
9820
|
+
_loop_2(i);
|
|
9823
9821
|
}
|
|
9824
9822
|
}
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9823
|
+
}
|
|
9824
|
+
catch (e) {
|
|
9825
|
+
console.error(e);
|
|
9828
9826
|
}
|
|
9829
9827
|
i = 0;
|
|
9830
9828
|
_c.label = 5;
|
|
@@ -9834,7 +9832,7 @@
|
|
|
9834
9832
|
return [3 /*break*/, 15];
|
|
9835
9833
|
}
|
|
9836
9834
|
styleMap = styleMapping[i];
|
|
9837
|
-
if (!(!styleMap.style && styleMap.StyleID
|
|
9835
|
+
if (!(!styleMap.style && styleMap.StyleID != -1)) return [3 /*break*/, 13];
|
|
9838
9836
|
styleId = styleMap.StyleID;
|
|
9839
9837
|
if (!!styleId) return [3 /*break*/, 9];
|
|
9840
9838
|
_c.label = 6;
|
|
@@ -9873,11 +9871,9 @@
|
|
|
9873
9871
|
console.error(e_3);
|
|
9874
9872
|
return [3 /*break*/, 13];
|
|
9875
9873
|
case 13:
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
this.processQueue();
|
|
9880
|
-
}
|
|
9874
|
+
this.styleMappingsLoaded[styleMap.EntityTypeID] = true;
|
|
9875
|
+
this.processTilesetFeatureCheckQueue();
|
|
9876
|
+
this.processQueue();
|
|
9881
9877
|
_c.label = 14;
|
|
9882
9878
|
case 14:
|
|
9883
9879
|
i++;
|
|
@@ -19978,7 +19974,7 @@
|
|
|
19978
19974
|
CesiumViewMonitor.Monitor = Monitor;
|
|
19979
19975
|
})(exports.CesiumViewMonitor || (exports.CesiumViewMonitor = {}));
|
|
19980
19976
|
|
|
19981
|
-
var VERSION$1 = "3.3.
|
|
19977
|
+
var VERSION$1 = "3.3.6";
|
|
19982
19978
|
|
|
19983
19979
|
exports.VERSION = VERSION$1;
|
|
19984
19980
|
exports.CesiumParabola = CesiumParabola;
|