Class: Statics

Glodon.CIMCube.Animation.PlaneEffect. Statics

静态面

new Statics(map, opt)

静态面
Parameters:
Name Type Description
map Glodon.CIMCube CIMCube实例
opt Object 静态面参数
Properties
Name Type Description
pathList Array 路径{lon,lat,height};长度为2场合,当矩形处理
imageUrl String 图片路径
color Color 颜色;与图片颜色融合;
duration Number 入场动画时长,渐出动画;默认为0,没有入场动画
rotation number 旋转角度;
projection Boolean 是否使用投影方式

Methods


dispose()

释放资源

hide()

隐藏静态面

setPathList(pathList)

更新路径
Parameters:
Name Type Description
pathList Array 路径{lon,lat,height};长度为2场合,当矩形处理

show()

显示静态面

updateOption(opt)

更新参数
Parameters:
Name Type Description
opt Object 静态面参数
Properties
Name Type Description
imageUrl String 图片路径
color Color 颜色;与图片颜色融合;
projection Boolean 是否使用投影方式
duration Number 入场动画时长,渐出动画;
rotation number 旋转角度;