bruce-cesium 1.1.3 → 1.1.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.
- package/dist/bruce-cesium.es5.js +6 -6
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +5 -5
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/rendering/visuals-register.js +5 -5
- package/dist/lib/rendering/visuals-register.js.map +1 -1
- package/package.json +1 -1
package/dist/bruce-cesium.es5.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BruceEvent, Cartes, Carto, Geometry, ZoomControl, Style, EntityTag, Calculator, EntityLod, EntityType, ClientFile, DelayQueue, Entity as Entity$1, BatchedDataGetter, EntityRelationType, ObjectUtils, Tileset, EntityCoords, EntityFilterGetter, EntitySource, EntityRelation, MenuItem, ProjectView, ProjectViewBookmark, ProjectViewTile, ProjectViewLegacyTile, ProgramKey, Camera } from 'bruce-models';
|
|
2
|
-
import { Cartesian2, Cartographic, Math as Math$1,
|
|
2
|
+
import { Entity, Primitive, Cesium3DTileFeature, Color, Cartesian2, Cartographic, Math as Math$1, Cartesian3, OrthographicFrustum, JulianDate, createWorldTerrain, EllipsoidTerrainProvider, CesiumTerrainProvider, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, UrlTemplateImageryProvider, TileMapServiceImageryProvider, IonImageryProvider, Cesium3DTileColorBlendMode, HeadingPitchRange, HeightReference, HorizontalOrigin, VerticalOrigin, ClassificationType, ArcType, PolygonHierarchy, ShadowMode, PolylineGraphics, HeadingPitchRoll, Transforms, ColorBlendMode, Matrix4, Cesium3DTileStyle, Cesium3DTileset, IonResource, EllipsoidGeodesic, sampleTerrainMostDetailed, ColorMaterialProperty, Rectangle, Matrix3, EasingFunction, GeometryInstance, PolygonPipeline, CallbackProperty, createOsmBuildings, KmlDataSource } from 'cesium';
|
|
3
3
|
|
|
4
4
|
var TIME_LAG = 300;
|
|
5
5
|
var POSITION_CHECK_TIMER = 950;
|
|
@@ -2864,14 +2864,14 @@ function removeEntity(viewer, visual) {
|
|
|
2864
2864
|
}
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
|
-
function updateCEntityShow(viewer, visual, show) {
|
|
2868
|
-
if (visual._parentEntity) {
|
|
2869
|
-
updateCEntityShow(viewer, visual._parentEntity, show);
|
|
2867
|
+
function updateCEntityShow(viewer, visual, show, ignoreParent) {
|
|
2868
|
+
if (visual._parentEntity && !ignoreParent) {
|
|
2869
|
+
updateCEntityShow(viewer, visual._parentEntity, show, false);
|
|
2870
2870
|
}
|
|
2871
2871
|
if (visual._siblingGraphics) {
|
|
2872
2872
|
for (var i = 0; i < visual._siblingGraphics.length; i++) {
|
|
2873
2873
|
var sibling = visual._siblingGraphics[i];
|
|
2874
|
-
updateCEntityShow(viewer, sibling, show);
|
|
2874
|
+
updateCEntityShow(viewer, sibling, show, true);
|
|
2875
2875
|
}
|
|
2876
2876
|
}
|
|
2877
2877
|
if (viewer.entities.contains(visual)) {
|
|
@@ -2880,7 +2880,7 @@ function updateCEntityShow(viewer, visual, show) {
|
|
|
2880
2880
|
}
|
|
2881
2881
|
function updateEntityShow(viewer, visual, show) {
|
|
2882
2882
|
if (visual instanceof Entity) {
|
|
2883
|
-
updateCEntityShow(viewer, visual, show);
|
|
2883
|
+
updateCEntityShow(viewer, visual, show, false);
|
|
2884
2884
|
}
|
|
2885
2885
|
else if (visual instanceof Primitive) {
|
|
2886
2886
|
if (viewer.scene.primitives.contains(visual)) {
|