Class: GroundText

GroundText


new GroundText(sdk, options)

贴地文字
Parameters:
Name Type Description
sdk
options object 属性
Properties
Name Type Default Description
id string 唯一标识
show boolean true 显示/隐藏
text string 文字
angle number 0 旋转角度
scale number 1 缩放比例
speed number 1 文字滚动速度
position object 位置
Properties
Name Type Description
lng number 经度
lat number 纬度
positions object 坐标集[{lon,lat}]仅在未定义 position 时有效
positions[].lng number 经度
positions[].lat number 纬度
customView object 默认视角
Properties
Name Type Description
orientation object 默认视角方位
Properties
Name Type Description
heading number 航向角
pitch number 俯仰角
roll number 翻滚角
relativePosition object 视角相对位置
Properties
Name Type Description
lng number 经度
lat number 纬度
alt number 高度

Methods


<async> flyTo()

飞到

<async> flyTo()

飞到

Class: GroundText

GroundText


new GroundText(sdk, options, _Dialog)

贴地文字
Parameters:
Name Type Description
sdk
options object 属性
Properties
Name Type Default Description
show boolean true 显示/隐藏
text string 文字
angle number 0 旋转角度
scale number 1 比例
position object 经纬度和高度{lon,lat,alt}
positions Array.<object> 矩形坐标数组 [最西端的经度,最南端的纬度,最东经度,最北纬度]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> flyTo()

飞到

<async> flyTo()

飞到