bruce-cesium 4.4.2 → 4.4.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 +277 -99
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +276 -98
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/internal/cesium-utils.js +12 -1
- package/dist/lib/internal/cesium-utils.js.map +1 -1
- package/dist/lib/rendering/cesium-animated-in-out.js +1 -1
- package/dist/lib/rendering/cesium-animated-property.js +60 -7
- package/dist/lib/rendering/cesium-animated-property.js.map +1 -1
- package/dist/lib/rendering/entity-render-engine.js +129 -50
- package/dist/lib/rendering/entity-render-engine.js.map +1 -1
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js +1 -0
- package/dist/lib/rendering/render-managers/entities/entities-render-manager.js.map +1 -1
- package/dist/lib/utils/cesium-entity-styler.js +49 -14
- package/dist/lib/utils/cesium-entity-styler.js.map +1 -1
- package/dist/lib/utils/entity-utils.js +14 -6
- package/dist/lib/utils/entity-utils.js.map +1 -1
- package/dist/lib/widgets/widget-cursorbar.js +18 -15
- package/dist/lib/widgets/widget-cursorbar.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/internal/cesium-utils.d.ts +1 -0
- package/dist/types/rendering/cesium-animated-property.d.ts +10 -2
- package/dist/types/rendering/entity-render-engine.d.ts +8 -0
- package/dist/types/utils/entity-utils.d.ts +2 -0
- package/package.json +2 -2
|
@@ -129,12 +129,20 @@ export declare namespace CesiumAnimatedProperty {
|
|
|
129
129
|
class AnimatePositionSeries {
|
|
130
130
|
private viewer;
|
|
131
131
|
private positions;
|
|
132
|
-
private
|
|
133
|
-
private
|
|
132
|
+
private lastCalcPos3d;
|
|
133
|
+
private lastCalcPosIndexLast;
|
|
134
|
+
private lastCalcPosIndexNext;
|
|
135
|
+
private lastCalcTime;
|
|
136
|
+
private lastCalcSeriesPos3d;
|
|
137
|
+
private lastCalcSeriesTime;
|
|
134
138
|
constructor(params: {
|
|
135
139
|
viewer: Cesium.Viewer;
|
|
136
140
|
posses: IAnimateSeriesPos[];
|
|
137
141
|
});
|
|
138
142
|
GetValue(): Cesium.Cartesian3;
|
|
143
|
+
/**
|
|
144
|
+
* Returns a series of positions to use for rendering the path.
|
|
145
|
+
*/
|
|
146
|
+
GetSeries(): Cesium.Cartesian3[];
|
|
139
147
|
}
|
|
140
148
|
}
|
|
@@ -13,6 +13,8 @@ export declare namespace EntityRenderEngine {
|
|
|
13
13
|
_siblingGraphics?: Cesium.Entity[];
|
|
14
14
|
_parentEntity?: Cesium.Entity;
|
|
15
15
|
_renderGroup?: string;
|
|
16
|
+
_noEdit?: boolean;
|
|
17
|
+
_noSelect?: boolean;
|
|
16
18
|
}
|
|
17
19
|
interface ICesiumBillboardExt extends Cesium.BillboardGraphics {
|
|
18
20
|
_billboardSize?: number;
|
|
@@ -36,6 +38,7 @@ export declare namespace EntityRenderEngine {
|
|
|
36
38
|
zoomControl: ZoomControl.IItem[];
|
|
37
39
|
entities: Entity.IEntity[];
|
|
38
40
|
entitiesHistoric?: IDictionary<EntityHistoricData.IData[]>;
|
|
41
|
+
entityHistoricDrawTrack?: boolean;
|
|
39
42
|
force?: boolean;
|
|
40
43
|
optimizeGeometry?: boolean;
|
|
41
44
|
optimizeMinPoints?: number;
|
|
@@ -56,11 +59,13 @@ export declare namespace EntityRenderEngine {
|
|
|
56
59
|
style: Style.IPointSettings;
|
|
57
60
|
entity: Entity.IEntity;
|
|
58
61
|
entityHistoric?: EntityHistoricData.IData[];
|
|
62
|
+
entityHistoricDrawTrack?: boolean;
|
|
59
63
|
tags: EntityTag.ITag[];
|
|
60
64
|
viewer: Cesium.Viewer;
|
|
61
65
|
maxDistance?: number;
|
|
62
66
|
minDistance?: number;
|
|
63
67
|
rendered?: ICesiumEntityExt;
|
|
68
|
+
fullStyle?: Style.IEntitySettings;
|
|
64
69
|
}
|
|
65
70
|
interface IGroupParams {
|
|
66
71
|
rendered?: Map<string, ICesiumEntityExt>;
|
|
@@ -68,6 +73,7 @@ export declare namespace EntityRenderEngine {
|
|
|
68
73
|
menuItemId: string;
|
|
69
74
|
entities: Entity.IEntity[];
|
|
70
75
|
entitiesHistoric?: IDictionary<EntityHistoricData.IData[]>;
|
|
76
|
+
entityHistoricDrawTrack?: boolean;
|
|
71
77
|
zoomItems: IDictionary<ZoomControl.IItem>;
|
|
72
78
|
visualRegister: VisualsRegister.Register;
|
|
73
79
|
viewer: Cesium.Viewer;
|
|
@@ -131,6 +137,7 @@ export declare namespace EntityRenderEngine {
|
|
|
131
137
|
style: Style.IModelSettings;
|
|
132
138
|
entity: Entity.IEntity;
|
|
133
139
|
entityHistoric?: EntityHistoricData.IData[];
|
|
140
|
+
entityHistoricDrawTrack?: boolean;
|
|
134
141
|
tags: EntityTag.ITag[];
|
|
135
142
|
viewer: Cesium.Viewer;
|
|
136
143
|
maxDistance?: number;
|
|
@@ -142,6 +149,7 @@ export declare namespace EntityRenderEngine {
|
|
|
142
149
|
menuItemId: string;
|
|
143
150
|
entities: Entity.IEntity[];
|
|
144
151
|
entitiesHistoric?: IDictionary<EntityHistoricData.IData[]>;
|
|
152
|
+
entityHistoricDrawTrack?: boolean;
|
|
145
153
|
zoomItems: IDictionary<ZoomControl.IItem>;
|
|
146
154
|
visualRegister: VisualsRegister.Register;
|
|
147
155
|
viewer: Cesium.Viewer;
|
|
@@ -69,6 +69,8 @@ export declare namespace EntityUtils {
|
|
|
69
69
|
*/
|
|
70
70
|
function GatherEntity(params: {
|
|
71
71
|
entity: VisualsRegister.Visual;
|
|
72
|
+
editable?: boolean;
|
|
73
|
+
selectable?: boolean;
|
|
72
74
|
}): VisualsRegister.Visual[];
|
|
73
75
|
/**
|
|
74
76
|
* Looks at given entities with least amount of movement.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bruce-cesium",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"main": "dist/bruce-cesium.umd.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"typescript": "^5.0.4"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"bruce-models": "^4.9.
|
|
75
|
+
"bruce-models": "^4.9.4",
|
|
76
76
|
"tslib": "^2.4.1"
|
|
77
77
|
}
|
|
78
78
|
}
|