cesium_dev_kit 1.0.59 → 1.0.61
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/README.md +20 -2
- package/dist/index.js +5 -103
- package/dist/index.min.js +1 -1
- package/dist/index.umd.js +2 -100
- package/package.json +2 -2
- package/dist/index.iife.js +0 -103
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
## 简介
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
这是一个 Cesium 开发工具包,包含图层加载、坐标转换、坐标拾取、相机控制、测量、标绘、模型加载、模型平移旋转缩放、模型/3Dtiles 视角位置调整、模型拖拽、天气(雨,雪,雾)场景、雷达扫描、信息框、流动线、发光线、动态墙等各种发光材质、后置场景效果、通视分析、透视分析、坡度分析、淹没分析、方量分析、地形开挖等各种分析案例。
|
|
12
12
|
|
|
13
13
|
## 功能展示
|
|
14
14
|
|
|
@@ -92,6 +92,20 @@ export default {
|
|
|
92
92
|
</script>
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
+
### 如需在 H5 中使用
|
|
96
|
+
|
|
97
|
+
- html 中直接引入 index.umd.js
|
|
98
|
+
|
|
99
|
+
```javaScript
|
|
100
|
+
<script type="text/javascript" src="index.umd.js"></script>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
- 初始化对象
|
|
104
|
+
|
|
105
|
+
```javaScript
|
|
106
|
+
new cesium_dev_kit.initCesium({...})
|
|
107
|
+
```
|
|
108
|
+
|
|
95
109
|
## API
|
|
96
110
|
|
|
97
111
|
### initCesium
|
|
@@ -145,7 +159,11 @@ export default {
|
|
|
145
159
|
|
|
146
160
|
## 使用范例
|
|
147
161
|
|
|
148
|
-
|
|
162
|
+
- ES6 使用案例
|
|
163
|
+
[https://github.com/dengxiaoning/cesium_kit_test](https://github.com/dengxiaoning/cesium_kit_test)
|
|
164
|
+
|
|
165
|
+
- H5 使用案例
|
|
166
|
+
[https://github.com/dengxiaoning/cesium_kit_test_h5](https://github.com/dengxiaoning/cesium_kit_test_h5)
|
|
149
167
|
|
|
150
168
|
##
|
|
151
169
|
|