Class: Radar

Glodon.CIMCube.Animation.PlaneEffect. Radar

雷达面

new Radar(viewer, opt)

雷达面构造函数
Parameters:
Name Type Description
viewer Glodon.CIMCube CIMCube实例
opt Object 雷达面参数
Properties
Name Type Argument Default Description
originPosition Object 路径{lon,lat,height}
Properties
Name Type Description
lon Number 经度
lat Number 纬度
height Number 高度
color Color 扫描效果颜色
duration Number <optional>
1 动画时长
radius number <optional>
10 半径
progressive number <optional>
0.5 扫描特效颜色衰减力度
roundRim Boolean <optional>
true 绘制圆形描边
anticlockwise Boolean <optional>
true 是否为逆时针方向
projection Boolean <optional>
true 是否使用投影方式

Methods


createPlane()

创建雷达面。

dispose()

雷达面释放资源

hide()

隐藏雷达面

show()

显示雷达面

updateMyOption(opt)

更新参数。
Parameters:
Name Type Description
opt Object 参数。
Properties
Name Type Argument Description
progressive number 是否渐进。
duration Number 时长。
originPosition Object 原点位置。
radius number 半径。
roundRim Boolean 圆边。
color Color 颜色。
projection Boolean <optional>
是否投影。
anticlockwise Boolean 是否逆时针。

updateOption(opt)

更新选项
Parameters:
Name Type Description
opt Object 雷达面参数
Properties
Name Type Argument Default Description
originPosition Object 路径{lon, lat, height}
color Color 扫描效果颜色
duration Number <optional>
1 动画时长
radius number <optional>
10 半径
progressive number <optional>
0.5 扫描特效颜色衰减力度
roundRim Boolean <optional>
true 绘制圆形描边
anticlockwise Boolean <optional>
true 是否为逆时针方向
projection Boolean <optional>
是否使用投影方式