EarthSDK
官网
对象索引
详细搜索
正在准备搜索索引...
earthsdk3
calcArrowPoints
函数 calcArrowPoints
calcArrowPoints
(
points
:
ESJVector3D
[]
,
type
:
ESJArrowMode
,
fixedWidth
?:
boolean
,
)
:
undefined
|
ESJVector3D
[]
计算箭头的多边形顶点
参数
points
:
ESJVector3D
[]
用户绘制的控制点坐标数组 [lng, lat, alt]
points[0]: 起始点
points[1] 或 points[points.length-1]: 目标点
type
:
ESJArrowMode
箭头类型
fixedWidth
:
boolean
= false
是否使用固定宽度模式
返回
undefined
|
ESJVector3D
[]
多边形轮廓顶点数组,不足控制点时返回undefined
显示设置
成员可见性
继承
配色
自动
浅色
深色
官网
对象索引
详细搜索
EarthSDK
加载中……
计算箭头的多边形顶点