bruce-cesium 6.2.4 → 6.2.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 +11 -4
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +10 -3
- 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 +9 -2
- package/dist/lib/rendering/xgrids-render-engine.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/package.json +2 -2
package/dist/bruce-cesium.umd.js
CHANGED
|
@@ -20937,14 +20937,21 @@
|
|
|
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
|
});
|
|
20950
|
+
// Remove any query params.
|
|
20951
|
+
// We mainly lose the cache token :(
|
|
20952
|
+
if (loadUrl.indexOf("?") !== -1) {
|
|
20953
|
+
loadUrl = loadUrl.split("?")[0];
|
|
20954
|
+
}
|
|
20948
20955
|
return LCCRender.load({
|
|
20949
20956
|
camera: viewer.camera,
|
|
20950
20957
|
scene: viewer.scene,
|
|
@@ -34472,7 +34479,7 @@
|
|
|
34472
34479
|
}
|
|
34473
34480
|
}
|
|
34474
34481
|
|
|
34475
|
-
const VERSION = "6.2.
|
|
34482
|
+
const VERSION = "6.2.6";
|
|
34476
34483
|
|
|
34477
34484
|
exports.VERSION = VERSION;
|
|
34478
34485
|
exports.isOutlineChanged = isOutlineChanged;
|