aircitytype 1.0.8 → 1.0.10

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.
Files changed (2) hide show
  1. package/index.d.ts +5 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -311,6 +311,7 @@ declare enum MapMode {
311
311
  interface AircityEvent {
312
312
  Id: string;
313
313
  eventtype: string;
314
+ ModelName: string;
314
315
  Type: string;
315
316
  Text: string;
316
317
  BoundsMax: [number, number, number];
@@ -355,7 +356,7 @@ interface Polygon3D {
355
356
  }
356
357
 
357
358
  interface Polyline {
358
- add(arg0: PolyLineType): void;
359
+ add(arg0: PolyLineType | PolyLineType[]): void;
359
360
  focus(id: string, distance?: number): void;
360
361
  delete(id: string | string[]): void;
361
362
  hide(id: string): void;
@@ -631,6 +632,8 @@ interface Marker3D {
631
632
  hide(ids: string[] | string, fn?: () => void): void;
632
633
  delete(ids: string[] | string): void;
633
634
  deleteByGroupId(id: string): void;
635
+ hideByGroupId(groupID: string): void;
636
+ showByGroupId(groupId: string, fn?: () => void): void;
634
637
  }
635
638
 
636
639
  interface EditHelper {
@@ -782,4 +785,4 @@ declare var IP2: string;
782
785
  declare var imgURL: string;
783
786
  declare var Disk: string;
784
787
  declare var objectIds: string[];
785
- declare var wrap: (id: string, id1: string, url: string) => void;
788
+ declare var wrap: (id: string, id1: string, url: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aircitytype",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {