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.
@@ -5,7 +5,7 @@ interface ICircleBillboard {
5
5
  size: number;
6
6
  width: number;
7
7
  height: number;
8
- canvas: HTMLCanvasElement;
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-cesium",
3
- "version": "3.7.2",
3
+ "version": "3.7.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-cesium.umd.js",