aircitytype 1.1.23 → 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 +4 -1
- package/package.json +1 -1
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,6 +391,7 @@ 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;
|
@@ -551,7 +554,7 @@ interface CustomObject {
|
|
551
554
|
resultMessage: string;
|
552
555
|
timestamp: number;
|
553
556
|
}>;
|
554
|
-
highlight(id: string | string[],fn
|
557
|
+
highlight(id: string | string[],fn?:()=>void): void;
|
555
558
|
callBatchBPFunction(v: CustomObjectBPParam | CustomObjectBPParam[]): void;
|
556
559
|
setLocation(id: string | string[], arr: number[], smoothTime?: number): void;
|
557
560
|
show(ids: string[] | string, fn?: () => void): void;
|
package/package.json
CHANGED