aircitytype 1.1.9 → 1.1.11
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 +6 -1
- package/package.json +1 -1
package/aircity/index.d.ts
CHANGED
@@ -695,6 +695,11 @@ interface Marker {
|
|
695
695
|
showByGroupId(groupId: string, fn?: () => void): void;
|
696
696
|
hideByGroupId(groupId: string, fn?: () => void): void;
|
697
697
|
showPopupWindow(id:string):void;
|
698
|
+
setAttachCustomObject(obj:{
|
699
|
+
markerId: string,
|
700
|
+
objectId: string,
|
701
|
+
offset: number[],
|
702
|
+
}):void;
|
698
703
|
focus(id: string, o1?: number, o2?: number, rotation?: number[]): any;
|
699
704
|
show(ids: string[] | string, fn?: () => void): void;
|
700
705
|
hide(ids: string[] | string, fn?: () => void): void;
|
@@ -728,7 +733,7 @@ interface Marker3D {
|
|
728
733
|
type VehicleBatch = {
|
729
734
|
id:string // Vehicle对象的ID
|
730
735
|
functionName:string // 蓝图函数名
|
731
|
-
parameters:{"paramType":string,"paramValue":string|number}[] //蓝图函数包含的多个参数结构,可选参数,数组类型,注意:传入多参数的顺序与类型务必与蓝图函数的参数顺序及其参数类型一致以保证执行结果符合预期。多个参数结构示例:[{"paramType":BPFuncParamType.String,"paramValue":"示例值"},{"paramType":BPFuncParamType.Bool,"paramValue":false},{"paramType":BPFuncParamType.Float,"paramValue":100.8}]
|
736
|
+
parameters:{"paramType":string|number,"paramValue":string|number|number[]}[] //蓝图函数包含的多个参数结构,可选参数,数组类型,注意:传入多参数的顺序与类型务必与蓝图函数的参数顺序及其参数类型一致以保证执行结果符合预期。多个参数结构示例:[{"paramType":BPFuncParamType.String,"paramValue":"示例值"},{"paramType":BPFuncParamType.Bool,"paramValue":false},{"paramType":BPFuncParamType.Float,"paramValue":100.8}]
|
732
737
|
}
|
733
738
|
|
734
739
|
interface Vehicle {
|
package/package.json
CHANGED