aircitytype 1.1.16 → 1.1.18
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 +5 -1
- package/package.json +2 -2
package/aircity/index.d.ts
CHANGED
@@ -337,10 +337,12 @@ type EventType =
|
|
337
337
|
| "MarkerCallBack"
|
338
338
|
| "CameraMoving"
|
339
339
|
|
340
|
+
type LayerType = "shapefilelayer"|'TileLayer'|'marker'|'Polygon'|'marker3d'|'CustomObj'
|
341
|
+
|
340
342
|
interface AircityEvent {
|
341
343
|
Id: string;
|
342
344
|
eventtype: EventType;
|
343
|
-
Type:
|
345
|
+
Type: LayerType;
|
344
346
|
Text: string;
|
345
347
|
BoundsMax: [number, number, number];
|
346
348
|
BoundsMin: [number, number, number];
|
@@ -730,6 +732,8 @@ interface Marker {
|
|
730
732
|
newVal: [number, number, number],
|
731
733
|
fn?: () => void
|
732
734
|
): void;
|
735
|
+
updateBegin():void;
|
736
|
+
updateEnd():void;
|
733
737
|
}
|
734
738
|
|
735
739
|
interface Marker3D {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aircitytype",
|
3
|
-
"description": "
|
3
|
+
"description": "增加marker的事件",
|
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.18"
|
21
21
|
}
|