bruce-cesium 3.5.3 → 3.5.4
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 +6 -4
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +5 -3
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/utils/entity-utils.js +4 -2
- package/dist/lib/utils/entity-utils.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
|
@@ -1989,7 +1989,9 @@
|
|
|
1989
1989
|
}
|
|
1990
1990
|
if (!(entity.geometry && typeof entity.geometry == "object")) return [3 /*break*/, 4];
|
|
1991
1991
|
pointStr = entity.geometry.Point;
|
|
1992
|
-
|
|
1992
|
+
// "0.0,0.0" seems to be generated on missing geometry in our re-index.
|
|
1993
|
+
// No location -> turns into 0,0 -> turns into 0.0,0.0 point geometry.
|
|
1994
|
+
if (pointStr && typeof pointStr == "string" && pointStr != "0.0,0.0") {
|
|
1993
1995
|
points = bruceModels.Geometry.ParsePoints(pointStr);
|
|
1994
1996
|
point = points.length > 0 ? points[0] : null;
|
|
1995
1997
|
if (point && bruceModels.Carto.ValidateCarto(point)) {
|
|
@@ -2179,7 +2181,7 @@
|
|
|
2179
2181
|
if ((entity === null || entity === void 0 ? void 0 : entity.geometryRadius) && (pos3d === null || pos3d === void 0 ? void 0 : pos3d.x)) {
|
|
2180
2182
|
sphere = Cesium.BoundingSphere.fromPoints([pos3d]);
|
|
2181
2183
|
// For now making sure it's less than x amount because we had a bug which made it huge.
|
|
2182
|
-
if (entity.geometryRadius && entity.geometryRadius <
|
|
2184
|
+
if (entity.geometryRadius && entity.geometryRadius < 500 && entity.geometryRadius > 1) {
|
|
2183
2185
|
sphere.radius = entity.geometryRadius;
|
|
2184
2186
|
spheres.push(sphere);
|
|
2185
2187
|
}
|
|
@@ -21578,7 +21580,7 @@
|
|
|
21578
21580
|
ViewRenderEngine.Render = Render;
|
|
21579
21581
|
})(exports.ViewRenderEngine || (exports.ViewRenderEngine = {}));
|
|
21580
21582
|
|
|
21581
|
-
var VERSION = "3.5.
|
|
21583
|
+
var VERSION = "3.5.4";
|
|
21582
21584
|
|
|
21583
21585
|
exports.VERSION = VERSION;
|
|
21584
21586
|
exports.CesiumParabola = CesiumParabola;
|