bruce-cesium 2.9.3 → 2.9.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.
@@ -7435,6 +7435,18 @@
7435
7435
  }
7436
7436
  if (!pos3d) {
7437
7437
  pos3d = getCurPos3d();
7438
+ if (pos3d === null || pos3d === void 0 ? void 0 : pos3d.x) {
7439
+ var carto = Cesium.Cartographic.fromCartesian(pos3d);
7440
+ if (!isNaN(carto === null || carto === void 0 ? void 0 : carto.latitude)) {
7441
+ // We reapply back to the tileset so we can reference this location later.
7442
+ // For example we can reference within editing tools in navigator.
7443
+ position.location = {
7444
+ altitude: carto.height,
7445
+ latitude: Cesium.Math.toDegrees(carto.latitude),
7446
+ longitude: Cesium.Math.toDegrees(carto.longitude)
7447
+ };
7448
+ }
7449
+ }
7438
7450
  }
7439
7451
  var offset = getOffset(pos3d, transform.x, transform.y, transform.z);
7440
7452
  if (bruceModels.Cartes.ValidateCartes3(offset)) {
@@ -16641,7 +16653,7 @@
16641
16653
  ViewerUtils.CreateWidgets = CreateWidgets;
16642
16654
  })(exports.ViewerUtils || (exports.ViewerUtils = {}));
16643
16655
 
16644
- var VERSION$1 = "2.9.3";
16656
+ var VERSION$1 = "2.9.4";
16645
16657
 
16646
16658
  exports.VERSION = VERSION$1;
16647
16659
  exports.CesiumViewMonitor = CesiumViewMonitor;