@poor-knight/cesium-utils 0.3.5 → 0.3.7
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/cesium-utils.cjs +18 -18
- package/dist/cesium-utils.d.ts +6 -1
- package/dist/cesium-utils.js +1211 -1197
- package/dist/cesium-utils.umd.cjs +18 -18
- package/package.json +1 -1
package/dist/cesium-utils.d.ts
CHANGED
|
@@ -85,7 +85,9 @@ export declare function saveCameraParams(viewer: Cesium.Viewer): {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
/**船只图层 */
|
|
88
|
-
export declare class ShipLayer
|
|
88
|
+
export declare class ShipLayer extends default_2<{
|
|
89
|
+
createEntity: (entity: Cesium.Entity) => void;
|
|
90
|
+
}> implements Layer {
|
|
89
91
|
key: string;
|
|
90
92
|
zIndex: number;
|
|
91
93
|
db: Cesium.CustomDataSource;
|
|
@@ -105,6 +107,9 @@ export declare class ShipLayer implements Layer {
|
|
|
105
107
|
private renderEntity;
|
|
106
108
|
private shadowEntityMap;
|
|
107
109
|
private createShipPlane;
|
|
110
|
+
/**显隐entity,回调返回显示隐藏的状态,不传Fn时默认显示所有 */
|
|
111
|
+
private hookFilterEntityFn?;
|
|
112
|
+
hideEntityByCondition(validateFn?: (entity: Cesium.Entity) => boolean): void;
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
export declare class WmsLayer implements Layer {
|