bruce-cesium 3.0.6 → 3.0.7

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.
@@ -3021,7 +3021,8 @@
3021
3021
  if (!iconUrl_1 && style.iconId) {
3022
3022
  iconUrl_1 = bruceModels.ClientFile.GetUrl({
3023
3023
  api: params.api,
3024
- fileId: style.iconId
3024
+ fileId: style.iconId,
3025
+ viaCdn: true
3025
3026
  });
3026
3027
  }
3027
3028
  if (!iconUrl_1) return [3 /*break*/, 11];
@@ -3940,7 +3941,8 @@
3940
3941
  viewer: params.viewer,
3941
3942
  lodUrl: bruceModels.ClientFile.GetUrl({
3942
3943
  api: api,
3943
- fileId: lod.clientFileId
3944
+ fileId: lod.clientFileId,
3945
+ viaCdn: true
3944
3946
  }),
3945
3947
  lodClientFileId: lod.clientFileId,
3946
3948
  maxDistance: zoomItem.MaxZoom,
@@ -11283,7 +11285,8 @@
11283
11285
  if (fileId) {
11284
11286
  fileUrl = bruceModels.ClientFile.GetUrl({
11285
11287
  api: api,
11286
- fileId: fileId
11288
+ fileId: fileId,
11289
+ viaCdn: true
11287
11290
  });
11288
11291
  }
11289
11292
  else if (externalURL) {
@@ -14875,7 +14878,8 @@
14875
14878
  if (bookmark["Screenshot.ClientFile.ID"]) {
14876
14879
  previewUrl = bruceModels.ClientFile.GetUrl({
14877
14880
  fileId: bookmark["Screenshot.ClientFile.ID"],
14878
- api: api
14881
+ api: api,
14882
+ viaCdn: true
14879
14883
  });
14880
14884
  }
14881
14885
  // TODO: Some nice empty image.
@@ -18115,7 +18119,8 @@
18115
18119
  this._imageContainer.style.display = "flex";
18116
18120
  url = bruceModels.ClientFile.GetUrl({
18117
18121
  fileId: defaultImage["ClientFile.ID"],
18118
- api: api
18122
+ api: api,
18123
+ viaCdn: true
18119
18124
  });
18120
18125
  this._image.style.backgroundImage = "url(".concat(url, ")");
18121
18126
  }
@@ -18392,7 +18397,7 @@
18392
18397
  ViewerUtils.CreateWidgets = CreateWidgets;
18393
18398
  })(exports.ViewerUtils || (exports.ViewerUtils = {}));
18394
18399
 
18395
- var VERSION$1 = "3.0.6";
18400
+ var VERSION$1 = "3.0.7";
18396
18401
 
18397
18402
  exports.VERSION = VERSION$1;
18398
18403
  exports.CesiumParabola = CesiumParabola;