Class: WaterSurface

WaterSurface


new WaterSurface(id, show, name, positions, color, frequency, animationSpeed, amplitude)

Parameters:
Name Type Default Description
id string 唯一标识
show boolean true 显隐
name string 名称
positions Array.<object> 坐标列表
positions[].lng number 经度
positions[].lat number 纬度
positions[].alt number 高度
color string rgba(32,67,135,0.5) 颜色
frequency number 10 频率
animationSpeed number 1 动画速度
amplitude number 10 振幅

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Default Description
state boolean false 状态: true打开, false关闭

<async> flyTo()

飞到对应实体

<async> remove()

删除