aircitytype 1.1.22 → 1.1.24
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/aircity/index.d.ts +6 -2
- package/package.json +2 -2
package/aircity/index.d.ts
CHANGED
@@ -336,6 +336,8 @@ type EventType =
|
|
336
336
|
| "EditHelperFinished"
|
337
337
|
| "MarkerCallBack"
|
338
338
|
| "CameraMoving"
|
339
|
+
| "CameraStartMove"
|
340
|
+
| 'CameraStopMove'
|
339
341
|
|
340
342
|
type LayerType = "shapefilelayer"|'TileLayer'|'marker'|'Polygon'|'Polyline'|'marker3d'|'CustomObj'
|
341
343
|
|
@@ -389,9 +391,11 @@ interface Polygon3D {
|
|
389
391
|
|
390
392
|
interface Polyline {
|
391
393
|
add(arg0: PolyLineType | PolyLineType[]): void;
|
394
|
+
update(arg:PolyLineType|PolyLineType[]):void;
|
392
395
|
focus(id: string, distance?: number): void;
|
393
396
|
delete(id: string | string[]): void;
|
394
|
-
|
397
|
+
show(id:string|string[]): void;
|
398
|
+
hide(id: string|string[]): void;
|
395
399
|
clear(): void;
|
396
400
|
}
|
397
401
|
|
@@ -550,7 +554,7 @@ interface CustomObject {
|
|
550
554
|
resultMessage: string;
|
551
555
|
timestamp: number;
|
552
556
|
}>;
|
553
|
-
highlight(id: string | string[],fn
|
557
|
+
highlight(id: string | string[],fn?:()=>void): void;
|
554
558
|
callBatchBPFunction(v: CustomObjectBPParam | CustomObjectBPParam[]): void;
|
555
559
|
setLocation(id: string | string[], arr: number[], smoothTime?: number): void;
|
556
560
|
show(ids: string[] | string, fn?: () => void): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aircitytype",
|
3
|
-
"description": "
|
3
|
+
"description": "polyline",
|
4
4
|
"scripts": {
|
5
5
|
"test": "echo \"Error: no test specified\" && exit 1"
|
6
6
|
},
|
@@ -17,5 +17,5 @@
|
|
17
17
|
"dependencies": {
|
18
18
|
"jsonc-parser": "^3.3.1"
|
19
19
|
},
|
20
|
-
"version": "1.1.
|
20
|
+
"version": "1.1.24"
|
21
21
|
}
|