aircitytype 1.1.21 → 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.
- package/aircity/index.d.ts +2 -2
- package/package.json +1 -1
package/aircity/index.d.ts
CHANGED
@@ -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;
|
@@ -809,7 +809,7 @@ type BeamData = {
|
|
809
809
|
interface Beam{
|
810
810
|
add(data:BeamData|BeamData[], fn?:()=>void):void;
|
811
811
|
clear(fn?:()=>void):void;
|
812
|
-
delete(ids:string[], fn
|
812
|
+
delete(ids:string|string[], fn?:()=>void):void;
|
813
813
|
focus(ids:string[], distance?:number, flyTime?:number, rotation?:number[], fn?:()=>void):void;
|
814
814
|
get(ids:string, fn?:()=>void):void;
|
815
815
|
hide(ids:string|string[], fn?:()=>void):void;
|
package/package.json
CHANGED