aircitytype 1.1.21 → 1.1.23
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 -3
- package/package.json +2 -2
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;
|
@@ -391,7 +391,8 @@ interface Polyline {
|
|
391
391
|
add(arg0: PolyLineType | PolyLineType[]): void;
|
392
392
|
focus(id: string, distance?: number): void;
|
393
393
|
delete(id: string | string[]): void;
|
394
|
-
|
394
|
+
show(id:string|string[]): void;
|
395
|
+
hide(id: string|string[]): void;
|
395
396
|
clear(): void;
|
396
397
|
}
|
397
398
|
|
@@ -809,7 +810,7 @@ type BeamData = {
|
|
809
810
|
interface Beam{
|
810
811
|
add(data:BeamData|BeamData[], fn?:()=>void):void;
|
811
812
|
clear(fn?:()=>void):void;
|
812
|
-
delete(ids:string[], fn
|
813
|
+
delete(ids:string|string[], fn?:()=>void):void;
|
813
814
|
focus(ids:string[], distance?:number, flyTime?:number, rotation?:number[], fn?:()=>void):void;
|
814
815
|
get(ids:string, fn?:()=>void):void;
|
815
816
|
hide(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.23"
|
21
21
|
}
|