@xingm/vmap-cesium-toolbar 1.0.2 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xingm/vmap-cesium-toolbar",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A powerful Cesium map toolbar plugin with drawing, measurement, and interaction features",
5
5
  "type": "module",
6
6
  "main": "index.es.js",
@@ -35,6 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "cesium": "^1.134.1",
38
+ "crypto-js": "4.2.0",
38
39
  "tdt-terrain-cesium-plugin": "^1.0.3",
39
40
  "vue": "^3.0.0"
40
41
  },
@@ -0,0 +1,5 @@
1
+ import { Viewer } from '../../node_modules/cesium';
2
+ /** 隐藏 Cesium 默认的 credit 文本、logo 及 credit 弹层。 */
3
+ export declare function hideCesiumCredit(viewer: Viewer): void;
4
+ /** 根据配置显示或隐藏 Cesium credit 区域。默认应保持显示以满足版权要求。 */
5
+ export declare function setCesiumCreditVisible(viewer: Viewer, visible: boolean): void;