bruce-cesium 2.7.2 → 2.7.3

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.
@@ -7566,6 +7566,7 @@
7566
7566
  visual: feature,
7567
7567
  accountId: (_b = (_a = this.item.tileset) === null || _a === void 0 ? void 0 : _a.ClientAccountID) !== null && _b !== void 0 ? _b : this.getters.GetAccountId(),
7568
7568
  tilesetId: (_c = this.item.tileset) === null || _c === void 0 ? void 0 : _c.TilesetID,
7569
+ tilesetType: bruceModels.Tileset.EType.Cad,
7569
7570
  rootId: this.rootId
7570
7571
  };
7571
7572
  var featureAny = feature;
@@ -8336,6 +8337,7 @@
8336
8337
  priority: 0,
8337
8338
  visual: feature,
8338
8339
  tilesetId: (_a = this.item.tileset) === null || _a === void 0 ? void 0 : _a.TilesetID,
8340
+ tilesetType: bruceModels.Tileset.EType.EntitiesSet,
8339
8341
  accountId: (_c = (_b = this.item.tileset) === null || _b === void 0 ? void 0 : _b.ClientAccountID) !== null && _c !== void 0 ? _c : this.getters.GetAccountId()
8340
8342
  };
8341
8343
  this.visualsManager.AddRego({
@@ -8658,6 +8660,7 @@
8658
8660
  this.disposed = false;
8659
8661
  this.cTileset = null;
8660
8662
  this.styler = null;
8663
+ this.tilesetType = null;
8661
8664
  this.viewer = params.viewer;
8662
8665
  this.getters = params.getters;
8663
8666
  this.visualsManager = params.register;
@@ -8762,6 +8765,7 @@
8762
8765
  if (this.disposed) {
8763
8766
  return [2 /*return*/];
8764
8767
  }
8768
+ this.tilesetType = type;
8765
8769
  if (tileset && loadUrlOverride) {
8766
8770
  tileset.loadUrl = loadUrlOverride;
8767
8771
  }
@@ -8924,7 +8928,8 @@
8924
8928
  priority: 0,
8925
8929
  visual: feature,
8926
8930
  accountId: (_b = (_a = this.item.tileset) === null || _a === void 0 ? void 0 : _a.ClientAccountID) !== null && _b !== void 0 ? _b : this.getters.GetAccountId(),
8927
- tilesetId: (_c = this.item.tileset) === null || _c === void 0 ? void 0 : _c.TilesetID
8931
+ tilesetId: (_c = this.item.tileset) === null || _c === void 0 ? void 0 : _c.TilesetID,
8932
+ tilesetType: this.tilesetType
8928
8933
  };
8929
8934
  // Two different methods for two different Cesium versions...
8930
8935
  var props = feature.getPropertyNames ? feature.getPropertyNames([]) :
@@ -12041,7 +12046,7 @@
12041
12046
  }
12042
12047
  viewer.shadowMap.size = size;
12043
12048
  viewer.shadowMap.softShadows = Boolean(shadows.soften);
12044
- viewer.shadowMap.darkness = EnsureNumber(shadows.darkness, 0.5);
12049
+ viewer.shadowMap.darkness = EnsureNumber(shadows.darkness, 0.3);
12045
12050
  ambientOcclusion = bSettings === null || bSettings === void 0 ? void 0 : bSettings.ambientOcclusion;
12046
12051
  if (ambientOcclusion == null) {
12047
12052
  ambientOcclusion = (_v = defaults === null || defaults === void 0 ? void 0 : defaults.settings) === null || _v === void 0 ? void 0 : _v.ambientOcclusion;
@@ -15162,7 +15167,7 @@
15162
15167
  ViewerUtils.CreateWidgets = CreateWidgets;
15163
15168
  })(exports.ViewerUtils || (exports.ViewerUtils = {}));
15164
15169
 
15165
- var VERSION$1 = "2.7.2";
15170
+ var VERSION$1 = "2.7.3";
15166
15171
 
15167
15172
  exports.VERSION = VERSION$1;
15168
15173
  exports.CesiumViewMonitor = CesiumViewMonitor;