bruce-cesium 4.2.4 → 4.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 +10 -5
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +9 -4
- 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 +7 -2
- package/dist/lib/rendering/tileset-render-engine.js.map +1 -1
- package/dist/lib/utils/entity-utils.js +1 -1
- package/dist/lib/utils/entity-utils.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/rendering/tileset-render-engine.d.ts +2 -1
- package/package.json +1 -1
package/dist/bruce-cesium.umd.js
CHANGED
|
@@ -2819,7 +2819,7 @@
|
|
|
2819
2819
|
if (geometryRadius && (pos3d === null || pos3d === void 0 ? void 0 : pos3d.x)) {
|
|
2820
2820
|
sphere = Cesium.BoundingSphere.fromPoints([pos3d]);
|
|
2821
2821
|
// For now making sure it's less than x amount because we had a bug which made it huge.
|
|
2822
|
-
if (geometryRadius && geometryRadius < 500 && geometryRadius > 1) {
|
|
2822
|
+
if (geometryRadius && geometryRadius < 500 && geometryRadius > 0.1) {
|
|
2823
2823
|
sphere.radius = geometryRadius;
|
|
2824
2824
|
spheres.push(sphere);
|
|
2825
2825
|
}
|
|
@@ -14074,9 +14074,15 @@
|
|
|
14074
14074
|
}
|
|
14075
14075
|
}
|
|
14076
14076
|
}
|
|
14077
|
-
if (isNaN(params.fallbackStyleId) && params.fallbackStyleId != null) {
|
|
14077
|
+
if (!isNaN(params.fallbackStyleId) && params.fallbackStyleId != null) {
|
|
14078
14078
|
this.fallbackStyleId = params.fallbackStyleId;
|
|
14079
14079
|
}
|
|
14080
|
+
if (params.fallbackStyle) {
|
|
14081
|
+
this.fallbackStyle = params.fallbackStyle;
|
|
14082
|
+
}
|
|
14083
|
+
else {
|
|
14084
|
+
this.fallbackStyle = null;
|
|
14085
|
+
}
|
|
14080
14086
|
// Empty queues.
|
|
14081
14087
|
// Requeue all.
|
|
14082
14088
|
this.recordLoadQueue = [];
|
|
@@ -14224,7 +14230,6 @@
|
|
|
14224
14230
|
counter = ++this.loadingCounter;
|
|
14225
14231
|
this.styleMappingLoaded = false;
|
|
14226
14232
|
this.styleMappingsLoaded = {};
|
|
14227
|
-
this.fallbackStyle = null;
|
|
14228
14233
|
fallbackStyleId = this.fallbackStyleId;
|
|
14229
14234
|
if (!(fallbackStyleId && fallbackStyleId > 0)) return [3 /*break*/, 4];
|
|
14230
14235
|
_c.label = 1;
|
|
@@ -25739,7 +25744,7 @@
|
|
|
25739
25744
|
ViewRenderEngine.Render = Render;
|
|
25740
25745
|
})(exports.ViewRenderEngine || (exports.ViewRenderEngine = {}));
|
|
25741
25746
|
|
|
25742
|
-
var VERSION = "4.2.
|
|
25747
|
+
var VERSION = "4.2.6";
|
|
25743
25748
|
|
|
25744
25749
|
exports.VERSION = VERSION;
|
|
25745
25750
|
exports.CesiumParabola = CesiumParabola;
|