特效
# 通用参数说明
参数说明
字段名 | 字段说明 | 备注 |
---|---|---|
Type | 特效类型 | Heat: 热力图, Format: 业态,Radar: 雷达 |
Visible | 是否显示 | 0: 隐藏,1: 显示 |
# 热力图
# 参数说明
提示
HeatValues: 热力图数组(热力图建筑编号:热力值)
# 开启
const jsonData = {
"Type": "Heat",
"Visible": 1,
"HeatValues": [
"Heat_1.10:1200",
"Heat_1.13:600",
"Heat_1.5:300",
"Heat_1.9:12"
]
}
cloudRender.SuperAPI("ShowEffect", jsonData)
# 关闭
const jsonData = {
"Type": "Heat",
"Visible": 0,
"HeatValues": [
"Heat_1.10:1200",
"Heat_1.13:600",
"Heat_1.5:300",
"Heat_1.9:12"
]
}
cloudRender.SuperAPI("ShowEffect", jsonData)
# 业态
# 参数说明
提示
FormatType: 业态编号
- 1: 商业
- 2: 商务公寓
- 3: 商务办公
# 开启
const jsonData = {
"Type": "Format",
"Visible": 1,
"FormatType": "1,2"
}
cloudRender.SuperAPI("ShowEffect", jsonData)
# 关闭
const jsonData = {
"Type": "Format",
"Visible": 0,
"FormatType": "1,2"
}
cloudRender.SuperAPI("ShowEffect", jsonData)
# 雷达
# 开启
const jsonData = {
"Type": "Radar",
"Visible": 1
}
cloudRender.SuperAPI("ShowEffect", jsonData)
# 关闭
const jsonData = {
"Type": "Radar",
"Visible": 0
}
cloudRender.SuperAPI("ShowEffect", jsonData)
上次更新: 2023/02/16, 12:12:47