@ino-cesium/draw 0.0.24 → 0.0.25
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/index.d.ts +5 -5
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Cesium from 'cesium';
|
|
2
|
-
import { BasePrimitive,
|
|
2
|
+
import { BasePrimitive, Common } from '@ino-cesium/common';
|
|
3
3
|
|
|
4
4
|
declare class MeasurePrimitive extends BasePrimitive<any> {
|
|
5
5
|
private drawData;
|
|
@@ -163,7 +163,7 @@ interface IDrawAttrInfo {
|
|
|
163
163
|
/**
|
|
164
164
|
* 绘制样式
|
|
165
165
|
*/
|
|
166
|
-
style: DeepPartial<IDrawStyle>;
|
|
166
|
+
style: Common.DeepPartial<IDrawStyle>;
|
|
167
167
|
__needUpdateAppearance?: boolean;
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
@@ -220,12 +220,12 @@ interface IDrawHandler {
|
|
|
220
220
|
* 设置全局绘制样式
|
|
221
221
|
* @param drawStyle 绘制样式
|
|
222
222
|
*/
|
|
223
|
-
setDrawStyle: (drawStyle: DeepPartial<IDrawStyle>) => void;
|
|
223
|
+
setDrawStyle: (drawStyle: Common.DeepPartial<IDrawStyle>) => void;
|
|
224
224
|
/**
|
|
225
225
|
* 设置绘制条目样式
|
|
226
226
|
* @param drawStyle 绘制样式
|
|
227
227
|
*/
|
|
228
|
-
setDrawItemStyle: (drawData: IDrawAttrInfo, drawStyle: DeepPartial<IDrawStyle>) => void;
|
|
228
|
+
setDrawItemStyle: (drawData: IDrawAttrInfo, drawStyle: Common.DeepPartial<IDrawStyle>) => void;
|
|
229
229
|
/**
|
|
230
230
|
* 设置贴地状态
|
|
231
231
|
* @param drawData
|
|
@@ -296,7 +296,7 @@ interface IDrawOptions {
|
|
|
296
296
|
/**
|
|
297
297
|
* 绘制样式
|
|
298
298
|
*/
|
|
299
|
-
style?: DeepPartial<IDrawStyle>;
|
|
299
|
+
style?: Common.DeepPartial<IDrawStyle>;
|
|
300
300
|
}
|
|
301
301
|
interface IReShowOptions {
|
|
302
302
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ino-cesium/draw",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.25",
|
|
5
5
|
"author": "koino",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cesium",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@turf/turf": "^7.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@ino-cesium/common": "0.0.
|
|
33
|
-
"@ino-cesium/material": "0.0.
|
|
32
|
+
"@ino-cesium/common": "0.0.25",
|
|
33
|
+
"@ino-cesium/material": "0.0.25"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "rimraf dist && rollup -c",
|