aircitytype 1.1.20 → 1.1.22

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.
@@ -337,7 +337,7 @@ type EventType =
337
337
  | "MarkerCallBack"
338
338
  | "CameraMoving"
339
339
 
340
- type LayerType = "shapefilelayer"|'TileLayer'|'marker'|'Polygon'|'marker3d'|'CustomObj'
340
+ type LayerType = "shapefilelayer"|'TileLayer'|'marker'|'Polygon'|'Polyline'|'marker3d'|'CustomObj'
341
341
 
342
342
  interface AircityEvent {
343
343
  Id: string;
@@ -550,6 +550,7 @@ interface CustomObject {
550
550
  resultMessage: string;
551
551
  timestamp: number;
552
552
  }>;
553
+ highlight(id: string | string[],fn:()=>void): void;
553
554
  callBatchBPFunction(v: CustomObjectBPParam | CustomObjectBPParam[]): void;
554
555
  setLocation(id: string | string[], arr: number[], smoothTime?: number): void;
555
556
  show(ids: string[] | string, fn?: () => void): void;
@@ -712,6 +713,7 @@ interface VehicleData{
712
713
  interface Marker {
713
714
  clear(): void;
714
715
  add(p: markType | markType[]): Promise<null>;
716
+ get(id:string):Promise<any>;
715
717
  update(p: markType | markType[]): Promise<null>;
716
718
  delete(p: string | string[]): Promise<void>;
717
719
  deleteByGroupId(groupId: string, fn?: () => void): void;
@@ -726,6 +728,7 @@ interface Marker {
726
728
  focus(id: string, o1?: number, o2?: number, rotation?: number[]): any;
727
729
  show(ids: string[] | string, fn?: () => void): void;
728
730
  hide(ids: string[] | string, fn?: () => void): void;
731
+ hidePopupWindow(id:string): void;
729
732
  hideAllPopupWindow(): void;
730
733
  setCoordinate(
731
734
  id: string,
@@ -806,7 +809,7 @@ type BeamData = {
806
809
  interface Beam{
807
810
  add(data:BeamData|BeamData[], fn?:()=>void):void;
808
811
  clear(fn?:()=>void):void;
809
- delete(ids:string[], fn:()=>void):void;
812
+ delete(ids:string|string[], fn?:()=>void):void;
810
813
  focus(ids:string[], distance?:number, flyTime?:number, rotation?:number[], fn?:()=>void):void;
811
814
  get(ids:string, fn?:()=>void):void;
812
815
  hide(ids:string|string[], fn?:()=>void):void;
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "dependencies": {
18
18
  "jsonc-parser": "^3.3.1"
19
19
  },
20
- "version": "1.1.20"
20
+ "version": "1.1.22"
21
21
  }