aircitytype 1.0.7 → 1.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/index.d.ts +6 -3
- package/package.json +2 -2
package/index.d.ts
CHANGED
@@ -357,7 +357,7 @@ interface Polygon3D {
|
|
357
357
|
interface Polyline {
|
358
358
|
add(arg0: PolyLineType): void;
|
359
359
|
focus(id: string, distance?: number): void;
|
360
|
-
delete(id: string): void;
|
360
|
+
delete(id: string | string[]): void;
|
361
361
|
hide(id: string): void;
|
362
362
|
clear(): void;
|
363
363
|
}
|
@@ -417,7 +417,7 @@ interface ODLine {
|
|
417
417
|
interface RadiationPoint {
|
418
418
|
add(data: RadiationPointData, fn?: () => void): void;
|
419
419
|
clear(fn?: () => void): void;
|
420
|
-
delete(ids: string[] | string, fn
|
420
|
+
delete(ids: string[] | string, fn?: () => void): void;
|
421
421
|
focus(
|
422
422
|
ids: string[] | string,
|
423
423
|
distance?: number,
|
@@ -501,6 +501,7 @@ interface CustomObject {
|
|
501
501
|
show(ids: string[] | string, fn?: () => void): void;
|
502
502
|
hide(ids: string[] | string, fn?: () => void): void;
|
503
503
|
restoreMaterial(ids: string | string[]): void;
|
504
|
+
callBatchBPFunction(param: { id: string, functionName: string, parameters: any } | { id: string, functionName: string, parameters: any }[]): void;
|
504
505
|
/**
|
505
506
|
*
|
506
507
|
* data object | array
|
@@ -584,7 +585,7 @@ interface PolyLineType {
|
|
584
585
|
color?: string | [number, number, number, number]; // 颜色值,支持四种格式,取值示例
|
585
586
|
coordinates?: [number, number, number][]; // 坐标点数组,取值示例
|
586
587
|
coordinateType?: number; // 坐标系类型,取值范围:0为Projection类型,1为WGS84类型,默认值:0
|
587
|
-
style?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7; //
|
588
|
+
style?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7; // {Arrow: 0, Arrow1: 1, Flow: 2, Beam: 3, Normal: 4,OnTerrain:5} 参考 PolylineStyle
|
588
589
|
thickness?: number; //线宽,单位:米,默认值20
|
589
590
|
intensity?: number; //亮度,取值范围:[0~1000],默认值:0.5
|
590
591
|
flowRate?: number; // 流速,取值范围:[0~1.0],默认值:0.5
|
@@ -630,6 +631,8 @@ interface Marker3D {
|
|
630
631
|
hide(ids: string[] | string, fn?: () => void): void;
|
631
632
|
delete(ids: string[] | string): void;
|
632
633
|
deleteByGroupId(id: string): void;
|
634
|
+
hideByGroupId(groupID: string): void;
|
635
|
+
showByGroupId(groupId: string, fn?: () => void): void;
|
633
636
|
}
|
634
637
|
|
635
638
|
interface EditHelper {
|