Class: exports

exports


new exports(sdk, options, Dialog)

光照
Parameters:
Name Type Description
sdk
options object 光照属性
Properties
Name Type Default Description
time string 当前时间 当前时间
speed number 1000 速度倍速
darkness number 0.3 阴影不透明度--越大越不透明
softShadow boolean false 阴影优化--true/false}
Dialog object 弹框对象
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Class: exports

exports


new exports(sdk, options)

热力图
Parameters:
Name Type Description
sdk
options object 属性
Properties
Name Type Default Description
id string 唯一标识
show boolean true 显示/隐藏
name string 名称
gradient object 渐变色
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
data Array.<object> 热力图数据 [{lon,lat,value},...]