bruce-cesium 5.7.2 → 5.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.
- package/dist/bruce-cesium.es5.js +13 -13
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +12 -12
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/entity-render-engine-model3d.js +1 -1
- package/dist/lib/rendering/entity-render-engine-model3d.js.map +1 -1
- package/dist/lib/rendering/entity-render-engine-point.js +1 -1
- package/dist/lib/rendering/entity-render-engine-point.js.map +1 -1
- package/dist/lib/rendering/entity-render-engine-polygon.js +1 -1
- package/dist/lib/rendering/entity-render-engine-polygon.js.map +1 -1
- package/dist/lib/rendering/entity-render-engine-polyline.js +1 -1
- package/dist/lib/rendering/entity-render-engine-polyline.js.map +1 -1
- package/dist/lib/rendering/relation-render-engine.js +1 -1
- package/dist/lib/rendering/relation-render-engine.js.map +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-loaded-render-manager.js +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-loaded-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-arb-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-cad-render-manager.js.map +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-entities-render-manager.js +1 -1
- package/dist/lib/rendering/render-managers/tilesets/tileset-entities-render-manager.js.map +1 -1
- package/dist/lib/rendering/tileset-styler.js +3 -3
- package/dist/lib/rendering/tileset-styler.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/rendering/tileset-styler.d.ts +2 -2
- package/package.json +2 -2
package/dist/bruce-cesium.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BruceEvent, Cartes, Entity as Entity$1, ProjectViewTile, Carto, Geometry, MathUtils, LRUCache, Api, Calculator, ClientFile, EntityTag, EntityType, ObjectUtils, Style, DelayQueue, EntityLod, Bounds, ZoomControl, EntityRelationType, ENVIRONMENT, EntityHistoricData, Tileset, EntityCoords, DataLab, EntitySource, MenuItem, EntityRelation, ProgramKey, ProjectView, ProjectViewBookmark, Camera, ProjectViewLegacyTile, EntityAttachment, EntityAttachmentType, EntityAttribute, AbstractApi, Session } from 'bruce-models';
|
|
2
2
|
import * as Cesium from 'cesium';
|
|
3
|
-
import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, Entity, DistanceDisplayCondition, ClassificationType, ArcType, CornerType, ShadowMode,
|
|
3
|
+
import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, Entity, DistanceDisplayCondition, HorizontalOrigin, VerticalOrigin, ConstantProperty, ClassificationType, ConstantPositionProperty, ArcType, CornerType, ShadowMode, PolygonHierarchy, PolylineGraphics, ColorMaterialProperty, ColorBlendMode, HeadingPitchRoll, Transforms, Model, Primitive, Cesium3DTileFeature, SceneMode, GeoJsonDataSource, Cesium3DTileStyle, Cesium3DTileColorBlendMode, HeadingPitchRange, Ion, KmlDataSource, Quaternion, Matrix3, Matrix4, SceneTransforms, OrthographicFrustum, EasingFunction, NearFarScalar, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, IonResource, Cesium3DTileset, CesiumInspector, defined, ClockRange, EllipsoidGeodesic, sampleTerrainMostDetailed, PolygonPipeline, BoundingSphere, GeometryInstance, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, ScreenSpaceEventHandler, ScreenSpaceEventType, CzmlDataSource, Intersect, Fullscreen } from 'cesium';
|
|
4
4
|
|
|
5
5
|
const TIME_LAG = 300;
|
|
6
6
|
const POSITION_CHECK_TIMER = 950;
|
|
@@ -6120,7 +6120,7 @@ async function getName(api, entity) {
|
|
|
6120
6120
|
}
|
|
6121
6121
|
async function getStyle(api, entity, styleId) {
|
|
6122
6122
|
let style = null;
|
|
6123
|
-
if (styleId) {
|
|
6123
|
+
if (styleId && styleId != -1) {
|
|
6124
6124
|
try {
|
|
6125
6125
|
style = (await Style.Get({
|
|
6126
6126
|
api,
|
|
@@ -7405,7 +7405,7 @@ async function getName$1(api, entity) {
|
|
|
7405
7405
|
}
|
|
7406
7406
|
async function getStyle$1(api, entity, styleId) {
|
|
7407
7407
|
let style = null;
|
|
7408
|
-
if (styleId) {
|
|
7408
|
+
if (styleId && styleId != -1) {
|
|
7409
7409
|
try {
|
|
7410
7410
|
style = (await Style.Get({
|
|
7411
7411
|
api,
|
|
@@ -7813,7 +7813,7 @@ async function getName$2(api, entity) {
|
|
|
7813
7813
|
}
|
|
7814
7814
|
async function getStyle$2(api, entity, styleId) {
|
|
7815
7815
|
let style = null;
|
|
7816
|
-
if (styleId) {
|
|
7816
|
+
if (styleId && styleId != -1) {
|
|
7817
7817
|
try {
|
|
7818
7818
|
style = (await Style.Get({
|
|
7819
7819
|
api,
|
|
@@ -8282,7 +8282,7 @@ async function getName$3(api, entity) {
|
|
|
8282
8282
|
}
|
|
8283
8283
|
async function getStyle$3(api, entity, styleId) {
|
|
8284
8284
|
let style = null;
|
|
8285
|
-
if (styleId) {
|
|
8285
|
+
if (styleId && styleId != -1) {
|
|
8286
8286
|
try {
|
|
8287
8287
|
style = (await Style.Get({
|
|
8288
8288
|
api,
|
|
@@ -9351,7 +9351,7 @@ function colorToCColor(color) {
|
|
|
9351
9351
|
}
|
|
9352
9352
|
async function getStyle$4(api, typeId, styleId) {
|
|
9353
9353
|
let style = null;
|
|
9354
|
-
if (styleId) {
|
|
9354
|
+
if (styleId && styleId != -1) {
|
|
9355
9355
|
try {
|
|
9356
9356
|
style = (await Style.Get({
|
|
9357
9357
|
api,
|
|
@@ -13450,7 +13450,7 @@ var EntitiesRenderManager;
|
|
|
13450
13450
|
return;
|
|
13451
13451
|
}
|
|
13452
13452
|
let style = null;
|
|
13453
|
-
if ((zoomItem === null || zoomItem === void 0 ? void 0 : zoomItem.StyleID) &&
|
|
13453
|
+
if ((zoomItem === null || zoomItem === void 0 ? void 0 : zoomItem.StyleID) && zoomItem.StyleID != -1) {
|
|
13454
13454
|
try {
|
|
13455
13455
|
style = (_a = (await Style.Get({
|
|
13456
13456
|
api: this.apiGetter.getApi(),
|
|
@@ -14359,7 +14359,7 @@ var EntitiesLoadedRenderManager;
|
|
|
14359
14359
|
return;
|
|
14360
14360
|
}
|
|
14361
14361
|
let style = null;
|
|
14362
|
-
if ((zoomItem === null || zoomItem === void 0 ? void 0 : zoomItem.StyleID) &&
|
|
14362
|
+
if ((zoomItem === null || zoomItem === void 0 ? void 0 : zoomItem.StyleID) && zoomItem.StyleID != -1) {
|
|
14363
14363
|
try {
|
|
14364
14364
|
style = (_a = (await Style.Get({
|
|
14365
14365
|
api: this.apiGetter.getApi(),
|
|
@@ -15871,7 +15871,7 @@ class TilesetStyler {
|
|
|
15871
15871
|
}
|
|
15872
15872
|
}
|
|
15873
15873
|
}
|
|
15874
|
-
if (
|
|
15874
|
+
if (params.fallbackStyleId != null && params.fallbackStyleId != undefined && params.fallbackStyleId != "") {
|
|
15875
15875
|
this.fallbackStyleId = params.fallbackStyleId;
|
|
15876
15876
|
}
|
|
15877
15877
|
if (params.fallbackStyle) {
|
|
@@ -15992,7 +15992,7 @@ class TilesetStyler {
|
|
|
15992
15992
|
this.entityGatherer.Empty();
|
|
15993
15993
|
this.entityGatherer.Init(this.historic, this.expandSources);
|
|
15994
15994
|
let fallbackStyleId = this.fallbackStyleId;
|
|
15995
|
-
if (fallbackStyleId && fallbackStyleId
|
|
15995
|
+
if (fallbackStyleId && fallbackStyleId != -1) {
|
|
15996
15996
|
try {
|
|
15997
15997
|
let { style: data } = await Style.Get({
|
|
15998
15998
|
api: this.api,
|
|
@@ -16081,7 +16081,7 @@ class TilesetStyler {
|
|
|
16081
16081
|
console.error(e);
|
|
16082
16082
|
}
|
|
16083
16083
|
}
|
|
16084
|
-
if (styleId) {
|
|
16084
|
+
if (styleId && styleId != -1) {
|
|
16085
16085
|
try {
|
|
16086
16086
|
let { style: data } = await Style.Get({
|
|
16087
16087
|
api: this.api,
|
|
@@ -19224,7 +19224,7 @@ var TilesetEntitiesRenderManager;
|
|
|
19224
19224
|
viewer: this.viewer,
|
|
19225
19225
|
api: api,
|
|
19226
19226
|
cTileset: this.cTileset,
|
|
19227
|
-
fallbackStyleId:
|
|
19227
|
+
fallbackStyleId: this.item.styleId,
|
|
19228
19228
|
styleMapping: [],
|
|
19229
19229
|
expandSources: false,
|
|
19230
19230
|
menuItemId: this.item.id,
|
|
@@ -32137,7 +32137,7 @@ class WidgetViewBar extends Widget.AWidget {
|
|
|
32137
32137
|
}
|
|
32138
32138
|
}
|
|
32139
32139
|
|
|
32140
|
-
const VERSION = "5.7.
|
|
32140
|
+
const VERSION = "5.7.3";
|
|
32141
32141
|
|
|
32142
32142
|
export { VERSION, CesiumViewMonitor, ViewerUtils, ViewerEventTracker, MenuItemManager, isOutlineChanged, EntityRenderEngine, EntityRenderEnginePoint, EntityRenderEnginePolyline, EntityRenderEnginePolygon, EntityRenderEngineModel3d, MenuItemCreator, VisualsRegister, RenderManager, EntitiesIdsRenderManager, DataLabRenderManager, EntitiesLoadedRenderManager, EntitiesRenderManager, EntityRenderManager, TilesetCadRenderManager, TilesetArbRenderManager, TilesetEntitiesRenderManager, TilesetOsmRenderManager, TilesetPointcloudRenderManager, TilesetGooglePhotosRenderManager, DataSourceStaticKmlManager, GoogleSearchRenderManager, AssemblyRenderManager, RelationsRenderManager, SharedGetters, CesiumParabola, EntityLabel, ViewRenderEngine, TileRenderEngine, TilesetRenderEngine, CESIUM_INSPECTOR_KEY, CESIUM_TIMELINE_KEY, CESIUM_TIMELINE_LIVE_KEY, CESIUM_TIMELINE_LIVE_PADDING_KEY, CESIUM_TIMELINE_INTERVAL_KEY, DEFAULT_LIVE_PADDING_SECONDS, 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 };
|
|
32143
32143
|
//# sourceMappingURL=bruce-cesium.es5.js.map
|