bruce-cesium 6.8.2 → 6.8.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.
@@ -1,6 +1,6 @@
1
1
  import * as Cesium from 'cesium';
2
- import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, DistanceDisplayCondition, HeightReference, HorizontalOrigin, VerticalOrigin, Cartesian3, ClassificationType, ConstantPositionProperty, Math as Math$1, JulianDate, Quaternion, Transforms, HeadingPitchRoll, Matrix4, ArcType, CornerType, ShadowMode, ColorBlendMode, Model, PolygonHierarchy, PolylineGraphics, Cartesian2, SceneTransforms, NearFarScalar, Matrix3, Rectangle, KmlDataSource, GeoJsonDataSource, SceneMode, Ion, IonResource, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, OrthographicFrustum, EasingFunction, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, Cesium3DTileset, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, PolygonPipeline, CesiumInspector, ClockRange, BoundingSphere, GeometryInstance, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, ScreenSpaceEventHandler, ScreenSpaceEventType, Intersect, CzmlDataSource, Fullscreen } from 'cesium';
3
- import { Cartes, Entity as Entity$1, ENVIRONMENT, Api, Calculator, ClientFile, EntityTag, EntityType, LRUCache, ObjectUtils, Style, Carto, Geometry, EntityLod, MenuItem, ProjectView, ProjectViewBookmark, Tileset, ZoomControl, Bounds, BruceEvent, EntityCoords, DataLab, DelayQueue, EntityHistoricData, BruceApi, EntityRelation, AccountConcept, RecordChangeFeed, ProgramKey, EntitySource, Camera, ProjectViewTile, ProjectViewLegacyTile, Session, EntityAttachment, EntityAttachmentType, EntityAttribute, MathUtils, EntityRelationType } from 'bruce-models';
2
+ import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, DistanceDisplayCondition, Math as Math$1, Cartesian3, JulianDate, Quaternion, Transforms, HeadingPitchRoll, Matrix4, HeightReference, ColorBlendMode, ShadowMode, ClassificationType, Model, ArcType, CornerType, ConstantPositionProperty, PolygonHierarchy, PolylineGraphics, Cartesian2, SceneTransforms, NearFarScalar, VerticalOrigin, HorizontalOrigin, Matrix3, Rectangle, KmlDataSource, GeoJsonDataSource, SceneMode, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, Ion, IonResource, Cesium3DTileset, OrthographicFrustum, EasingFunction, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, PolygonPipeline, CesiumInspector, ClockRange, ScreenSpaceEventHandler, ScreenSpaceEventType, BoundingSphere, GeometryInstance, CzmlDataSource, Intersect, Fullscreen } from 'cesium';
3
+ import { Cartes, Entity as Entity$1, ENVIRONMENT, Calculator, ClientFile, EntityLod, EntityTag, EntityType, LRUCache, ObjectUtils, Style, MenuItem, ProjectView, ProjectViewBookmark, Tileset, ZoomControl, Carto, Geometry, Bounds, BruceEvent, EntityCoords, Api, DelayQueue, EntityHistoricData, DataLab, BruceApi, ProgramKey, AccountConcept, RecordChangeFeed, EntityRelation, EntitySource, Camera, ProjectViewTile, ProjectViewLegacyTile, EntityAttachment, EntityAttachmentType, EntityAttribute, MathUtils, Session, EntityRelationType } from 'bruce-models';
4
4
 
5
5
  /**
6
6
  * Ensures a number is returned from a given value.
@@ -10700,6 +10700,7 @@ var EntitiesRenderManager;
10700
10700
  if ((_a = payload.renderQueue) === null || _a === void 0 ? void 0 : _a.length) {
10701
10701
  this.distributeForRender(payload.renderQueue);
10702
10702
  }
10703
+ this.doEntityCheck(Object.keys(this.renderedEntities));
10703
10704
  this.viewer.scene.requestRender();
10704
10705
  }
10705
10706
  }
@@ -17138,6 +17139,7 @@ var DataLabRenderManager;
17138
17139
  if ((_a = payload.renderQueue) === null || _a === void 0 ? void 0 : _a.length) {
17139
17140
  this.distributeForRender(payload.renderQueue);
17140
17141
  }
17142
+ this.doEntityCheck(Object.keys(this.renderedEntities));
17141
17143
  this.viewer.scene.requestRender();
17142
17144
  }
17143
17145
  }
@@ -17963,6 +17965,14 @@ var TilesetOsmRenderManager;
17963
17965
  this._osmIdToBruceId = payload.osmIdToBruceId;
17964
17966
  this.totalLoaded = payload.totalLoaded;
17965
17967
  if (this.sourceId) {
17968
+ if (this.item.ghostLoading == true) {
17969
+ this.cTileset.style = new Cesium3DTileStyle({
17970
+ color: "rgba(255, 255, 250, 0.98)"
17971
+ });
17972
+ }
17973
+ else {
17974
+ this.cTileset.style = undefined;
17975
+ }
17966
17976
  this.visualsManager.ReassignMenuItem({
17967
17977
  fromMenuItemId: payload.sourceMenuItemId,
17968
17978
  toMenuItemId: this.item.id,
@@ -37556,7 +37566,7 @@ var StyleUtils;
37556
37566
  StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
37557
37567
  })(StyleUtils || (StyleUtils = {}));
37558
37568
 
37559
- const VERSION = "6.8.2";
37569
+ const VERSION = "6.8.3";
37560
37570
  /**
37561
37571
  * Updates the environment instance used by bruce-cesium to one specified.
37562
37572
  * This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.