ImageSignProperty

根据Html模板构建动目标标牌

new Cesium.ImageSignProperty(options)

Name Type Description
options Object 对象具有以下属性:
Name Type Description
signImage String 标牌图片的Base64资源字符串或图片路径

Extends

Methods

clone()ImageSignProperty

克隆对象
Returns:
成功返回克隆对象,否则返回undefined

getBillboardScale()Number

获取二维Billboard标牌的缩放
Returns:
缩放
Inherited From:

getIndecatorLineLength()Number

获取牵引线长度
Returns:
牵引线长度
Inherited From:

getIndecatorLineRotation()Number

获取标牌牵引线旋转角度
Returns:
牵引线旋转角度
Inherited From:

getIndecatorLineStyle()Object

获取牵引线样式
Returns:
样式
Inherited From:

getMovingTargetSignType()MovingTargetSignType

获取标牌类型
Returns:
标牌类型
Inherited From:

getSignImage()

获取标牌图片的Base64资源字符串或图片路径

getSignRenderMode()SignRenderMode

获取标牌渲染模式
Returns:
返回渲染模式
Inherited From:

isShowIndecatorLine()boolean

获取标牌是否显示牵引线
Returns:
返回是否显示牵引线
Inherited From:

setBillboardScale(billboardScale)

设置二维Billboard标牌的缩放。当 signRenderMode == SignRenderMode.Billboard 时生效
Name Type Description
billboardScale Number 缩放
Inherited From:

setIndecatorLineLength(indecatorLineLength)

设置标牌牵引线长度(单位:mm)
Name Type Description
indecatorLineLength Number 牵引线长度
Inherited From:

setIndecatorLineRotation(indecatorLineRotation)

设置牵引线旋转角度(以屏幕X轴正向为0,逆时针方向为正的角度,单位:度)
Name Type Description
indecatorLineRotation Number 旋转角度
Inherited From:

setIndecatorLineStyle(indecatorLineStyle)

设牵引线样式
Name Type Description
indecatorLineStyle Object 样式
Name Type Description
lineWidth Number 线宽(mm)
aryLineColors Array.<Color> 线色(例:[MGIS_SuperMap3D.Color(255, 0, 0, 1)])
Inherited From:

setIsShowIndecatorLine(showIndecatorLine)

设置是否显示牵引线
Name Type Description
showIndecatorLine boolean 是否显示牵引线
Inherited From:

setSignImage(signImage)

设置标牌图片的Base64资源字符串或图片路径
Name Type Description
signImage String 标牌图片的Base64资源字符串或图片路径

setSignRenderMode(signRenderMode)

设置标牌渲染模式,不支持三维模式(SignRenderMode.Solid)
Name Type Description
signRenderMode SignRenderMode 渲染模式
Inherited From: