bruce-cesium 6.5.3 → 6.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.
@@ -14903,11 +14903,11 @@
14903
14903
  }
14904
14904
  return null;
14905
14905
  }
14906
- (function (CesiumViewGroundArea) {
14906
+ (function (ViewGroundArea) {
14907
14907
  function ToBboxPolygon(bounds) {
14908
14908
  return `${bounds.west},${bounds.south} ${bounds.west},${bounds.north} ${bounds.east},${bounds.north} ${bounds.east},${bounds.south}`;
14909
14909
  }
14910
- CesiumViewGroundArea.ToBboxPolygon = ToBboxPolygon;
14910
+ ViewGroundArea.ToBboxPolygon = ToBboxPolygon;
14911
14911
  async function GetViewArea(viewer) {
14912
14912
  var _a, _b;
14913
14913
  if (!viewer || viewer.isDestroyed()) {
@@ -14990,8 +14990,8 @@
14990
14990
  }
14991
14991
  return null;
14992
14992
  }
14993
- CesiumViewGroundArea.GetViewArea = GetViewArea;
14994
- })(exports.CesiumViewGroundArea || (exports.CesiumViewGroundArea = {}));
14993
+ ViewGroundArea.GetViewArea = GetViewArea;
14994
+ })(exports.ViewGroundArea || (exports.ViewGroundArea = {}));
14995
14995
 
14996
14996
  const TIME_LAG = 300;
14997
14997
  const POSITION_CHECK_TIMER = 950;
@@ -15089,7 +15089,7 @@
15089
15089
  if (!this.viewer.container || ((_a = this.viewer.container.style) === null || _a === void 0 ? void 0 : _a.display) == "none") {
15090
15090
  return ESearchStatus.LocationMissing;
15091
15091
  }
15092
- const viewArea = await exports.CesiumViewGroundArea.GetViewArea(this.viewer);
15092
+ const viewArea = await exports.ViewGroundArea.GetViewArea(this.viewer);
15093
15093
  if ((viewArea === null || viewArea === void 0 ? void 0 : viewArea.target) && (viewArea === null || viewArea === void 0 ? void 0 : viewArea.bounds)) {
15094
15094
  const center = viewArea.target;
15095
15095
  const viewRect = viewArea.bounds;
@@ -35202,7 +35202,7 @@
35202
35202
  }
35203
35203
  }
35204
35204
 
35205
- const VERSION = "6.5.3";
35205
+ const VERSION = "6.5.4";
35206
35206
  /**
35207
35207
  * Updates the environment instance used by bruce-cesium to one specified.
35208
35208
  * This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.