bruce-cesium 5.1.8 → 5.2.0
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 +12 -8
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +11 -7
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/getters/entity-filter-getter.js +10 -6
- package/dist/lib/rendering/getters/entity-filter-getter.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- 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, Carto, Geometry, MathUtils, LRUCache, Api, Calculator, ClientFile, EntityTag, EntityType, ObjectUtils, Style, ProjectViewTile, 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,
|
|
3
|
+
import { Cartographic, Cartesian2, Math as Math$1, Cartesian3, CallbackProperty, Color, HeightReference, Rectangle, JulianDate, Entity, DistanceDisplayCondition, ClassificationType, ArcType, CornerType, ShadowMode, ConstantProperty, ConstantPositionProperty, ColorBlendMode, HeadingPitchRoll, Transforms, Model, SceneMode, HorizontalOrigin, VerticalOrigin, PolygonHierarchy, PolylineGraphics, ColorMaterialProperty, GeoJsonDataSource, Primitive, Cesium3DTileFeature, Cesium3DTileColorBlendMode, HeadingPitchRange, Ion, Cesium3DTileStyle, KmlDataSource, OrthographicFrustum, EasingFunction, NearFarScalar, SceneTransforms, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, Cesium3DTileset, PolygonPipeline, Matrix4, Matrix3, IonResource, CesiumInspector, ClockRange, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, ScreenSpaceEventHandler, ScreenSpaceEventType, BoundingSphere, GeometryInstance, Quaternion, CzmlDataSource, Intersect, Fullscreen } from 'cesium';
|
|
4
4
|
|
|
5
5
|
const TIME_LAG = 300;
|
|
6
6
|
const POSITION_CHECK_TIMER = 950;
|
|
@@ -14972,7 +14972,11 @@ var EntityFilterGetter;
|
|
|
14972
14972
|
continue;
|
|
14973
14973
|
}
|
|
14974
14974
|
try {
|
|
14975
|
-
let response =
|
|
14975
|
+
let response = {
|
|
14976
|
+
entities: [],
|
|
14977
|
+
nextPage: false,
|
|
14978
|
+
nextPageUrl: null
|
|
14979
|
+
};
|
|
14976
14980
|
await SharedGetters.Queue.Run("Loading Entities from Menu Item that loads Entity Type: " + this.typeId, async () => {
|
|
14977
14981
|
var _a;
|
|
14978
14982
|
if (abortController.signal.aborted || !((_a = this.GetMenuItems()) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
@@ -14988,7 +14992,7 @@ var EntityFilterGetter;
|
|
|
14988
14992
|
response = {
|
|
14989
14993
|
entities: tmpResponse.Items ? tmpResponse.Items : [],
|
|
14990
14994
|
nextPage: tmpResponse.NextPage,
|
|
14991
|
-
nextPageUrl: tmpResponse.
|
|
14995
|
+
nextPageUrl: tmpResponse.NextPageURL
|
|
14992
14996
|
};
|
|
14993
14997
|
}
|
|
14994
14998
|
else {
|
|
@@ -15023,7 +15027,7 @@ var EntityFilterGetter;
|
|
|
15023
15027
|
}
|
|
15024
15028
|
});
|
|
15025
15029
|
}
|
|
15026
|
-
});
|
|
15030
|
+
});
|
|
15027
15031
|
const entities = response.entities;
|
|
15028
15032
|
const integrity = this.getIntegrityId();
|
|
15029
15033
|
if (loopIntegrity == integrity && entities) {
|
|
@@ -15053,9 +15057,6 @@ var EntityFilterGetter;
|
|
|
15053
15057
|
this.postStatus({ msg: EStatus.Loading, revoking: false });
|
|
15054
15058
|
postedLoading = true;
|
|
15055
15059
|
}
|
|
15056
|
-
// Using URL if specified.
|
|
15057
|
-
// If not then we'll just manually paginate.
|
|
15058
|
-
curCell.FetchURL = response.nextPageUrl;
|
|
15059
15060
|
// Only mark as fetched when ALL pages are done.
|
|
15060
15061
|
// Known issue where external sources may return less than page size.
|
|
15061
15062
|
// Right now we're making it as fetched as we're siding with the majority use-case.
|
|
@@ -15086,6 +15087,9 @@ var EntityFilterGetter;
|
|
|
15086
15087
|
prevTicks = 0;
|
|
15087
15088
|
}
|
|
15088
15089
|
}
|
|
15090
|
+
// Using URL if specified.
|
|
15091
|
+
// If not then we'll just manually paginate.
|
|
15092
|
+
curCell.FetchURL = response.nextPageUrl;
|
|
15089
15093
|
curCell.FetchPageIndex++;
|
|
15090
15094
|
// Request passed so let's assume it was server hiccup and refresh counts.
|
|
15091
15095
|
retryAttempts = MAX_RETRY_ATTEMPTS;
|
|
@@ -29878,7 +29882,7 @@ class WidgetViewBar extends Widget.AWidget {
|
|
|
29878
29882
|
}
|
|
29879
29883
|
}
|
|
29880
29884
|
|
|
29881
|
-
const VERSION = "5.
|
|
29885
|
+
const VERSION = "5.2.0";
|
|
29882
29886
|
|
|
29883
29887
|
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 };
|
|
29884
29888
|
//# sourceMappingURL=bruce-cesium.es5.js.map
|