bruce-cesium 5.1.3 → 5.1.5

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.
@@ -15773,7 +15773,7 @@ var TilesetRenderEngine;
15773
15773
  api: api
15774
15774
  });
15775
15775
  }
15776
- if (viaCdn && (tileset === null || tileset === void 0 ? void 0 : tileset.ID)) {
15776
+ if (viaCdn && (tileset === null || tileset === void 0 ? void 0 : tileset.ID) && !ionId && !(etc === null || etc === void 0 ? void 0 : etc.ExternalTilesetURL)) {
15777
15777
  const api = apiGetter.getApi(accountId);
15778
15778
  await api.Loading;
15779
15779
  if (api.GetCdnBaseUrl()) {
@@ -16909,8 +16909,7 @@ var TilesetCadRenderManager;
16909
16909
  viewer: this.viewer,
16910
16910
  coords: coords,
16911
16911
  accountId: (_b = (_a = this.item.tileset) === null || _a === void 0 ? void 0 : _a.ClientAccountID) !== null && _b !== void 0 ? _b : this.getters.GetAccountId(),
16912
- // Backwards compatibility is 'false' by default.
16913
- viaCdn: Boolean(this.item.cdnEnabled),
16912
+ viaCdn: Boolean(this.item.cdnEnabled == null ? true : this.item.cdnEnabled),
16914
16913
  noMemoryLimit: this.item["noMaximumMemory"]
16915
16914
  });
16916
16915
  if (this.disposed) {
@@ -17790,8 +17789,7 @@ var TilesetEntitiesRenderManager;
17790
17789
  tileset: tileset,
17791
17790
  viewer: this.viewer,
17792
17791
  accountId: accountId,
17793
- // Backwards compatibility is 'false' by default.
17794
- viaCdn: Boolean(this.item.cdnEnabled),
17792
+ viaCdn: Boolean(this.item.cdnEnabled == null ? true : this.item.cdnEnabled),
17795
17793
  noMemoryLimit: this.item["noMaximumMemory"]
17796
17794
  });
17797
17795
  if (this.disposed) {
@@ -18012,8 +18010,7 @@ var TilesetPointcloudRenderManager;
18012
18010
  viewer: this.viewer,
18013
18011
  coords: null,
18014
18012
  accountId: accountId,
18015
- // Backwards compatibility is 'false' by default.
18016
- viaCdn: Boolean(this.item.cdnEnabled),
18013
+ viaCdn: Boolean(this.item.cdnEnabled == null ? true : this.item.cdnEnabled),
18017
18014
  noMemoryLimit: this.item["noMaximumMemory"]
18018
18015
  });
18019
18016
  if (this.disposed) {
@@ -18302,7 +18299,6 @@ var TilesetArbRenderManager;
18302
18299
  ionAccessToken: (_f = this.item.IonResource) === null || _f === void 0 ? void 0 : _f.AccessToken,
18303
18300
  loadUrl: loadUrlOverride,
18304
18301
  accountId: accountId,
18305
- // Backwards compatibility is 'true' by default.
18306
18302
  viaCdn: this.item.cdnEnabled == null ? true : Boolean(this.item.cdnEnabled),
18307
18303
  noMemoryLimit: this.item.noMaximumMemory,
18308
18304
  backFaceCulling: this.item.backFaceCulling
@@ -18315,7 +18311,6 @@ var TilesetArbRenderManager;
18315
18311
  viewer: this.viewer,
18316
18312
  coords: null,
18317
18313
  accountId: (_h = (_g = this.item.tileset) === null || _g === void 0 ? void 0 : _g.ClientAccountID) !== null && _h !== void 0 ? _h : this.getters.GetAccountId(),
18318
- // Backwards compatibility is 'true' by default.
18319
18314
  viaCdn: this.item.cdnEnabled == null ? true : Boolean(this.item.cdnEnabled)
18320
18315
  });
18321
18316
  }
@@ -29809,7 +29804,7 @@ class WidgetViewBar extends Widget.AWidget {
29809
29804
  }
29810
29805
  }
29811
29806
 
29812
- const VERSION = "5.1.3";
29807
+ const VERSION = "5.1.5";
29813
29808
 
29814
29809
  export { VERSION, CesiumViewMonitor, ViewerUtils, ViewerEventTracker, MenuItemManager, isHistoricMetadataChanged, EntityRenderEngine, EntityRenderEnginePoint, EntityRenderEnginePolyline, EntityRenderEnginePolygon, EntityRenderEngineModel3d, MenuItemCreator, VisualsRegister, RenderManager, EntitiesIdsRenderManager, DataLabRenderManager, EntitiesLoadedRenderManager, EntitiesRenderManager, EntityRenderManager, TilesetCadRenderManager, TilesetArbRenderManager, TilesetEntitiesRenderManager, TilesetOsmRenderManager, TilesetPointcloudRenderManager, TilesetGooglePhotosRenderManager, DataSourceStaticKmlManager, GoogleSearchRenderManager, RelationsRenderManager, SharedGetters, CesiumParabola, EntityLabel, ViewRenderEngine, TileRenderEngine, TilesetRenderEngine, CESIUM_INSPECTOR_KEY, CESIUM_TIMELINE_KEY, ViewUtils, DrawingUtils, MeasureUtils, EntityUtils, CesiumEntityStyler, CesiumAnimatedProperty, CesiumAnimatedInOut, Draw3dPolygon, Draw3dPolyline, MeasureCreator, Walkthrough, Widget, VIEWER_BOOKMARKS_WIDGET_KEY, WidgetBookmarks, WidgetBranding, WidgetCursorBar, WidgetEmbeddedInfoView, WidgetInfoView, WidgetNavCompass$$1 as WidgetNavCompass, VIEWER_VIEW_BAR_WIDGET_KEY, WidgetViewBar, WidgetControlViewBar, WidgetControlViewBarSearch, VIEWER_LEFT_PANEL_WIDGET_KEY, VIEWER_LEFT_PANEL_CSS_VAR_LEFT, WidgetLeftPanel, WidgetLeftPanelTab, WidgetLeftPanelTabBookmarks };
29815
29810
  //# sourceMappingURL=bruce-cesium.es5.js.map