@gausslib/gauss-core 0.0.8 → 0.0.9
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/core/config/viewerOptions.d.ts +15 -2
- package/dist/core/utils/logger.d.ts +13 -0
- package/dist/core/viewer/index.d.ts +6 -0
- package/dist/gauss-core.js +1013 -983
- package/dist/gauss-core.umd.cjs +6 -6
- package/package.json +1 -1
|
@@ -3,5 +3,18 @@
|
|
|
3
3
|
* @Date: 2025/12/27 16:50
|
|
4
4
|
* @Description:
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
export declare const defaultViewerOptions: {
|
|
7
|
+
animation: boolean;
|
|
8
|
+
timeline: boolean;
|
|
9
|
+
baseLayerPicker: boolean;
|
|
10
|
+
geocoder: boolean;
|
|
11
|
+
sceneModePicker: boolean;
|
|
12
|
+
homeButton: boolean;
|
|
13
|
+
fullscreenButton: boolean;
|
|
14
|
+
navigationHelpButton: boolean;
|
|
15
|
+
infoBox: boolean;
|
|
16
|
+
selectionIndicator: boolean;
|
|
17
|
+
vrButton: boolean;
|
|
18
|
+
shadows: boolean;
|
|
19
|
+
debug: boolean;
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @Author: jc
|
|
3
|
+
* @Date: 2026/1/14 20:00
|
|
4
|
+
* @Description:
|
|
5
|
+
*/
|
|
6
|
+
export declare class Logger {
|
|
7
|
+
private _debug;
|
|
8
|
+
constructor(debug?: boolean);
|
|
9
|
+
info(...args: any[]): void;
|
|
10
|
+
error(...args: any[]): void;
|
|
11
|
+
warn(...args: any[]): void;
|
|
12
|
+
setDebug(enable: boolean): void;
|
|
13
|
+
}
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
import * as Cesium from 'cesium';
|
|
7
7
|
export declare class Viewer {
|
|
8
8
|
private viewer;
|
|
9
|
+
private logger;
|
|
10
|
+
/**
|
|
11
|
+
* 创建 Viewer
|
|
12
|
+
* @param container - 容器元素
|
|
13
|
+
* @param options - 配置项
|
|
14
|
+
*/
|
|
9
15
|
constructor(container: string | HTMLElement, options?: Cesium.Viewer.ConstructorOptions);
|
|
10
16
|
/**
|
|
11
17
|
* 销毁 Viewer
|