bruce-cesium 6.2.3 → 6.2.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/bruce-cesium.es5.js +13 -5
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +12 -4
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/xgrids-render-engine.js +11 -3
- package/dist/lib/rendering/xgrids-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
|
@@ -20937,15 +20937,22 @@
|
|
|
20937
20937
|
combinedMatrix = Cesium.Matrix4.multiply(combinedMatrix, scaleMatrix, new Cesium.Matrix4());
|
|
20938
20938
|
m1 = combinedMatrix;
|
|
20939
20939
|
}
|
|
20940
|
-
|
|
20940
|
+
let loadUrl = BModels.Tileset.GetFileUrl({
|
|
20941
20941
|
file: tileset.rootFileName || "meta.lcc",
|
|
20942
20942
|
tilesetId: tileset.id,
|
|
20943
|
-
|
|
20943
|
+
// No CDN because library seems to lose query params.
|
|
20944
|
+
// We put accountId in query when going through cdn.
|
|
20945
|
+
viaCdn: false,
|
|
20944
20946
|
legacy: true,
|
|
20945
20947
|
cacheToken: tileset.generateVersion,
|
|
20946
20948
|
api: api
|
|
20947
20949
|
});
|
|
20948
|
-
|
|
20950
|
+
// Remove any query params.
|
|
20951
|
+
// We mainly lose the cache token :(
|
|
20952
|
+
if (loadUrl.indexOf("?") !== -1) {
|
|
20953
|
+
loadUrl = loadUrl.split("?")[0];
|
|
20954
|
+
}
|
|
20955
|
+
return LCCRender.load({
|
|
20949
20956
|
camera: viewer.camera,
|
|
20950
20957
|
scene: viewer.scene,
|
|
20951
20958
|
dataPath: loadUrl,
|
|
@@ -20966,6 +20973,7 @@
|
|
|
20966
20973
|
console.warn("[XGridsRenderEngine] Remove() LCCRender library not available.");
|
|
20967
20974
|
return;
|
|
20968
20975
|
}
|
|
20976
|
+
LCCRender.unload(renderObject);
|
|
20969
20977
|
}
|
|
20970
20978
|
XGridsRenderEngine.Remove = Remove;
|
|
20971
20979
|
})(exports.XGridsRenderEngine || (exports.XGridsRenderEngine = {}));
|
|
@@ -34471,7 +34479,7 @@
|
|
|
34471
34479
|
}
|
|
34472
34480
|
}
|
|
34473
34481
|
|
|
34474
|
-
const VERSION = "6.2.
|
|
34482
|
+
const VERSION = "6.2.5";
|
|
34475
34483
|
|
|
34476
34484
|
exports.VERSION = VERSION;
|
|
34477
34485
|
exports.isOutlineChanged = isOutlineChanged;
|