bruce-cesium 6.9.0 → 6.9.1
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 +9 -3
- 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-nav-compass.js +7 -0
- package/dist/lib/widgets/widget-nav-compass.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/widgets/widget-nav-compass.d.ts +3 -0
- package/package.json +1 -1
package/dist/bruce-cesium.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Cesium from 'cesium';
|
|
2
|
-
import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, DistanceDisplayCondition, Math as Math$1,
|
|
3
|
-
import { Cartes, Entity as Entity$1, ENVIRONMENT,
|
|
2
|
+
import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, DistanceDisplayCondition, HeightReference, ColorBlendMode, HeadingPitchRoll, Math as Math$1, Transforms, ShadowMode, Cartesian3, ClassificationType, Model, HorizontalOrigin, VerticalOrigin, ConstantPositionProperty, PolygonHierarchy, PolylineGraphics, ArcType, CornerType, JulianDate, Quaternion, Matrix4, SceneTransforms, NearFarScalar, Cartesian2, Matrix3, Rectangle, KmlDataSource, GeoJsonDataSource, SceneMode, Cesium3DTileStyle, HeadingPitchRange, Ion, IonResource, Cesium3DTileColorBlendMode, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, Cesium3DTileset, OrthographicFrustum, EasingFunction, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, PolygonPipeline, CesiumInspector, ClockRange, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, ScreenSpaceEventHandler, ScreenSpaceEventType, BoundingSphere, GeometryInstance, Fullscreen, Intersect, CzmlDataSource } from 'cesium';
|
|
3
|
+
import { Cartes, Entity as Entity$1, ENVIRONMENT, Calculator, ClientFile, EntityLod, EntityTag, EntityType, LRUCache, ObjectUtils, Style, Api, Bounds, Geometry, Carto, BruceEvent, EntityCoords, MenuItem, Tileset, ProjectView, ProjectViewBookmark, ZoomControl, DataLab, DelayQueue, EntityHistoricData, AccountConcept, RecordChangeFeed, BruceApi, EntityRelation, ProgramKey, EntitySource, ProjectViewLegacyTile, ProjectViewTile, Camera, Session, EntityAttachment, EntityAttachmentType, EntityAttribute, MathUtils, EntityRelationType } from 'bruce-models';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Ensures a number is returned from a given value.
|
|
@@ -31439,6 +31439,8 @@ class WidgetNavCompass$$1 extends Widget.AWidget {
|
|
|
31439
31439
|
this._isWalkthroughActive = false;
|
|
31440
31440
|
this._walkthroughBar = null;
|
|
31441
31441
|
this._isVR = false;
|
|
31442
|
+
// Fires whenever walkthrough mode is toggled on/off via this widget's own button.
|
|
31443
|
+
this.OnWalkthroughChange = new BruceEvent();
|
|
31442
31444
|
this._generateStyles();
|
|
31443
31445
|
this._generateElement();
|
|
31444
31446
|
this._listenToRenders();
|
|
@@ -32087,6 +32089,9 @@ class WidgetNavCompass$$1 extends Widget.AWidget {
|
|
|
32087
32089
|
this._updateStablePivot(pivot);
|
|
32088
32090
|
});
|
|
32089
32091
|
}
|
|
32092
|
+
IsWalkthroughActive() {
|
|
32093
|
+
return this._isWalkthroughActive;
|
|
32094
|
+
}
|
|
32090
32095
|
_toggleWalkthrough() {
|
|
32091
32096
|
this._setWalkthrough(!this._isWalkthroughActive);
|
|
32092
32097
|
}
|
|
@@ -32111,6 +32116,7 @@ class WidgetNavCompass$$1 extends Widget.AWidget {
|
|
|
32111
32116
|
(_c = this._walkthroughBar) === null || _c === void 0 ? void 0 : _c.Dispose();
|
|
32112
32117
|
this._walkthroughBar = null;
|
|
32113
32118
|
}
|
|
32119
|
+
this.OnWalkthroughChange.Trigger(active);
|
|
32114
32120
|
}
|
|
32115
32121
|
_toggleVR() {
|
|
32116
32122
|
this._setVR(!this._isVR);
|
|
@@ -38413,7 +38419,7 @@ var StyleUtils;
|
|
|
38413
38419
|
StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
|
|
38414
38420
|
})(StyleUtils || (StyleUtils = {}));
|
|
38415
38421
|
|
|
38416
|
-
const VERSION = "6.9.
|
|
38422
|
+
const VERSION = "6.9.1";
|
|
38417
38423
|
/**
|
|
38418
38424
|
* Updates the environment instance used by bruce-cesium to one specified.
|
|
38419
38425
|
* This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
|