aircitytype 1.0.18 → 1.0.19
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 +11 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -344,14 +344,8 @@ declare class CameraTour {
|
|
344
344
|
}
|
345
345
|
|
346
346
|
interface Polygon {
|
347
|
-
add(v:
|
348
|
-
|
349
|
-
coordinates: Array<number[]>; //左上,右上,右下,做下这样的顺序
|
350
|
-
color: number[]; //多边形的填充颜色
|
351
|
-
frameColor: Color;
|
352
|
-
frameThickness: number;
|
353
|
-
depthTest: boolean;
|
354
|
-
}): void;
|
347
|
+
add(v: PolygonType | PolygonType[]): void;
|
348
|
+
delete(id: string | string[]): void;
|
355
349
|
clear(): void;
|
356
350
|
}
|
357
351
|
|
@@ -591,6 +585,15 @@ type markType = {
|
|
591
585
|
groupId?: string;
|
592
586
|
};
|
593
587
|
|
588
|
+
interface PolygonType {
|
589
|
+
id: string;
|
590
|
+
coordinates: Array<number[]>; //左上,右上,右下,做下这样的顺序
|
591
|
+
color: number[]; //多边形的填充颜色
|
592
|
+
frameColor: Color;
|
593
|
+
frameThickness: number;
|
594
|
+
depthTest: boolean;
|
595
|
+
}
|
596
|
+
|
594
597
|
interface PolyLineType {
|
595
598
|
id: string; //字符串类型的ID
|
596
599
|
groupId?: string; //可选,Group分组
|