bruce-cesium 3.7.2 → 3.7.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 +1032 -266
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +1030 -264
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/cesium-animated-property.js +280 -0
- package/dist/lib/rendering/cesium-animated-property.js.map +1 -0
- package/dist/lib/rendering/entity-render-engine.js +628 -254
- package/dist/lib/rendering/entity-render-engine.js.map +1 -1
- package/dist/lib/rendering/tileset-render-engine.js +10 -0
- package/dist/lib/rendering/tileset-render-engine.js.map +1 -1
- package/dist/lib/utils/cesium-entity-styler.js +115 -5
- package/dist/lib/utils/cesium-entity-styler.js.map +1 -1
- package/dist/lib/utils/entity-utils.js +0 -1
- package/dist/lib/utils/entity-utils.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/dist/types/rendering/cesium-animated-property.d.ts +88 -0
- package/dist/types/rendering/entity-render-engine.d.ts +10 -1
- package/dist/types/utils/cesium-entity-styler.d.ts +5 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ interface ICircleBillboard {
|
|
|
5
5
|
size: number;
|
|
6
6
|
width: number;
|
|
7
7
|
height: number;
|
|
8
|
-
|
|
8
|
+
canvasDataUri: string;
|
|
9
9
|
colorCss: string;
|
|
10
10
|
}
|
|
11
11
|
export declare namespace EntityRenderEngine {
|
|
@@ -16,6 +16,7 @@ export declare namespace EntityRenderEngine {
|
|
|
16
16
|
}
|
|
17
17
|
interface ICesiumBillboardExt extends Cesium.BillboardGraphics {
|
|
18
18
|
_billboardSize?: number;
|
|
19
|
+
_billboardImgKey?: string;
|
|
19
20
|
}
|
|
20
21
|
interface ICesiumModelExt extends Cesium.ModelGraphics {
|
|
21
22
|
_radius?: number;
|
|
@@ -50,8 +51,10 @@ export declare namespace EntityRenderEngine {
|
|
|
50
51
|
viewer: Cesium.Viewer;
|
|
51
52
|
maxDistance?: number;
|
|
52
53
|
minDistance?: number;
|
|
54
|
+
rendered?: ICesiumEntityExt;
|
|
53
55
|
}
|
|
54
56
|
interface IGroupParams {
|
|
57
|
+
rendered?: IDictionary<ICesiumEntityExt>;
|
|
55
58
|
apiGetter: BruceApi.IGetter;
|
|
56
59
|
menuItemId: string;
|
|
57
60
|
entities: Entity.IEntity[];
|
|
@@ -68,6 +71,7 @@ export declare namespace EntityRenderEngine {
|
|
|
68
71
|
}
|
|
69
72
|
namespace Polyline {
|
|
70
73
|
interface IParams {
|
|
74
|
+
rendered?: ICesiumEntityExt;
|
|
71
75
|
style: Style.IPolylineSettings;
|
|
72
76
|
entity: Entity.IEntity;
|
|
73
77
|
tags: EntityTag.ITag[];
|
|
@@ -82,12 +86,14 @@ export declare namespace EntityRenderEngine {
|
|
|
82
86
|
zoomItems: IDictionary<ZoomControl.IItem>;
|
|
83
87
|
visualRegister: VisualsRegister.Register;
|
|
84
88
|
viewer: Cesium.Viewer;
|
|
89
|
+
rendered?: IDictionary<ICesiumEntityExt>;
|
|
85
90
|
}
|
|
86
91
|
function Render(params: IParams): ICesiumEntityExt;
|
|
87
92
|
function RenderGroup(params: IGroupParams): Promise<IDictionary<ICesiumEntityExt>>;
|
|
88
93
|
}
|
|
89
94
|
namespace Polygon {
|
|
90
95
|
interface IParams {
|
|
96
|
+
rendered?: ICesiumEntityExt;
|
|
91
97
|
style: Style.IPolygonSettings;
|
|
92
98
|
entity: Entity.IEntity;
|
|
93
99
|
tags: EntityTag.ITag[];
|
|
@@ -102,12 +108,14 @@ export declare namespace EntityRenderEngine {
|
|
|
102
108
|
zoomItems: IDictionary<ZoomControl.IItem>;
|
|
103
109
|
visualRegister: VisualsRegister.Register;
|
|
104
110
|
viewer: Cesium.Viewer;
|
|
111
|
+
rendered?: IDictionary<ICesiumEntityExt>;
|
|
105
112
|
}
|
|
106
113
|
function Render(params: IParams): ICesiumEntityExt;
|
|
107
114
|
function RenderGroup(params: IGroupParams): Promise<IDictionary<ICesiumEntityExt>>;
|
|
108
115
|
}
|
|
109
116
|
namespace Model3d {
|
|
110
117
|
interface IParams {
|
|
118
|
+
rendered?: ICesiumEntityExt;
|
|
111
119
|
lodUrl: string;
|
|
112
120
|
lodClientFileId?: string;
|
|
113
121
|
style: Style.IModelSettings;
|
|
@@ -118,6 +126,7 @@ export declare namespace EntityRenderEngine {
|
|
|
118
126
|
minDistance?: number;
|
|
119
127
|
}
|
|
120
128
|
interface IGroupParams {
|
|
129
|
+
rendered?: IDictionary<ICesiumEntityExt>;
|
|
121
130
|
apiGetter: BruceApi.IGetter;
|
|
122
131
|
menuItemId: string;
|
|
123
132
|
entities: Entity.IEntity[];
|
|
@@ -11,6 +11,11 @@ export declare namespace CesiumEntityStyler {
|
|
|
11
11
|
entity: VisualsRegister.Visual;
|
|
12
12
|
requestRender?: boolean;
|
|
13
13
|
}): void;
|
|
14
|
+
function BakeDefaultColor(params: {
|
|
15
|
+
viewer: Cesium.Viewer;
|
|
16
|
+
entity: VisualsRegister.Visual;
|
|
17
|
+
override?: boolean;
|
|
18
|
+
}): void;
|
|
14
19
|
/**
|
|
15
20
|
* Updates the default colour of a graphic.
|
|
16
21
|
* This will not change the graphic's state to use it if the entity is selected/highlighted.
|