bruce-cesium 5.0.3 → 5.0.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 +8 -2
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +7 -1
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/widgets/widget-cursorbar.js +6 -0
- package/dist/lib/widgets/widget-cursorbar.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/widgets/widget-cursorbar.d.ts +9 -0
- package/package.json +1 -1
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, HorizontalOrigin, VerticalOrigin, ConstantProperty, ClassificationType, ConstantPositionProperty, ArcType, CornerType, ShadowMode, PolygonHierarchy, PolylineGraphics, ColorMaterialProperty, ColorBlendMode, HeadingPitchRoll, Transforms, Model, Primitive, Cesium3DTileFeature, SceneMode, GeoJsonDataSource, Cesium3DTileColorBlendMode, HeadingPitchRange, Cesium3DTileStyle, Ion, KmlDataSource, SceneTransforms, OrthographicFrustum, EasingFunction, NearFarScalar, EllipsoidTerrainProvider, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, IonImageryProvider, CesiumTerrainProvider, Cesium3DTileset, Matrix4, Matrix3, IonResource, CesiumInspector, defined, ClockRange, EllipsoidGeodesic, sampleTerrainMostDetailed, PolygonPipeline, BoundingSphere, GeometryInstance, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, Quaternion, ScreenSpaceEventHandler, ScreenSpaceEventType, CzmlDataSource, Intersect, Fullscreen } from 'cesium';
|
|
4
4
|
|
|
5
5
|
const TIME_LAG = 300;
|
|
6
6
|
const POSITION_CHECK_TIMER = 950;
|
|
@@ -26284,6 +26284,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26284
26284
|
this.STYLESHEET_ID = "nextspace-cursorbar-stylesheet";
|
|
26285
26285
|
this._selectedCursor = ECursor.Select;
|
|
26286
26286
|
this._selectedSecondaryCursor = ESecondaryCursor.None;
|
|
26287
|
+
this.OnCursorChange = new BruceEvent();
|
|
26287
26288
|
this._generateStyles();
|
|
26288
26289
|
this._generateElement();
|
|
26289
26290
|
if (this._selectedCursor == ECursor.Select || this._selectedSecondaryCursor == ESecondaryCursor.Select) {
|
|
@@ -26716,6 +26717,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26716
26717
|
this._selectedCursor = ECursor.Select;
|
|
26717
26718
|
this._secondary.style.display = "none";
|
|
26718
26719
|
this._listenSelection();
|
|
26720
|
+
this.OnCursorChange.Trigger(this._selectedCursor);
|
|
26719
26721
|
}, svg);
|
|
26720
26722
|
}
|
|
26721
26723
|
_generatePan() {
|
|
@@ -26730,6 +26732,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26730
26732
|
if (this._selectedCursor == ECursor.Select) {
|
|
26731
26733
|
this._listenSelection();
|
|
26732
26734
|
}
|
|
26735
|
+
this.OnCursorChange.Trigger(this._selectedCursor);
|
|
26733
26736
|
}, svg);
|
|
26734
26737
|
}
|
|
26735
26738
|
_generateMeasure() {
|
|
@@ -26751,6 +26754,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26751
26754
|
if (this._selectedCursor == ECursor.Select) {
|
|
26752
26755
|
this._listenSelection();
|
|
26753
26756
|
}
|
|
26757
|
+
this.OnCursorChange.Trigger(this._selectedCursor);
|
|
26754
26758
|
}, svg);
|
|
26755
26759
|
}
|
|
26756
26760
|
_generateMeasureSecondary() {
|
|
@@ -26857,6 +26861,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26857
26861
|
if (this._selectedCursor == ECursor.Select || this._selectedSecondaryCursor == ESecondaryCursor.Select) {
|
|
26858
26862
|
this._listenSelection();
|
|
26859
26863
|
}
|
|
26864
|
+
this.OnCursorChange.Trigger(this._selectedCursor);
|
|
26860
26865
|
}, svg);
|
|
26861
26866
|
}
|
|
26862
26867
|
_generateWalkthroughSecondary() {
|
|
@@ -26935,6 +26940,7 @@ class WidgetCursorBar extends Widget.AWidget {
|
|
|
26935
26940
|
viewer: this._viewer
|
|
26936
26941
|
});
|
|
26937
26942
|
}
|
|
26943
|
+
this.OnCursorChange.Trigger(this._selectedCursor);
|
|
26938
26944
|
};
|
|
26939
26945
|
content.appendChild(close);
|
|
26940
26946
|
}
|
|
@@ -29204,7 +29210,7 @@ class WidgetViewBar extends Widget.AWidget {
|
|
|
29204
29210
|
}
|
|
29205
29211
|
}
|
|
29206
29212
|
|
|
29207
|
-
const VERSION = "5.0.
|
|
29213
|
+
const VERSION = "5.0.4";
|
|
29208
29214
|
|
|
29209
29215
|
export { VERSION, CesiumViewMonitor, ViewerUtils, ViewerEventTracker, MenuItemManager, 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 };
|
|
29210
29216
|
//# sourceMappingURL=bruce-cesium.es5.js.map
|