更新图片投影
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | — | 对象ID |
imagePath | string | 是 | — | 投影图片,jpg/png 可选值: jpgpng |
position | string | 是 | — | 位置 |
rotation | string | 是 | — | 朝向 |
scale | string | 是 | — | 缩放 |
alpha | number | 是 | 0.0 | 透明度 |
color | string | 是 | #FFFFFF | 叠加颜色 |
调用
typescript
piclient.emit("gis.updateProjectionImage",{
id: "",// 对象ID
imagePath: "",// 投影图片,jpg/png
position: "",// 位置
rotation: "",// 朝向
scale: "",// 缩放
alpha: 0.0,// 透明度
color: "#FFFFFF",// 叠加颜色
})