SymbolDot

new Cesium.SymbolDot(options)

Name Type Description
options Object optional The object has the following properties:
Name Type Default Description
geoGraphicObject._serverData serverData optional Label library data
anchorPoint anchorPoint new Cartesian2(0.0, 0.0) optional Point-numbered two-dimensional anchor point
gridSymbolSize gridSymbolSize new Cartesian2(0.0, 0.0) optional The size of the label bulletin board mode
symbolRanks symbolRanks [] optional Label level list
scale scale new Cartesian3(1.0, 1.0, 1.0) optional scaling ratio
rotate rotate new Cartesian3(1.0, 1.0, 1.0) optional Rotation angle
modelScale modelScale new Cartesian3(5000.0,5000.0,5000.0) optional Model scaling
modelPath modelPath './models/car/Cesium_Ground.gltf' optional Model path
modelRotate modelRotate new Cartesian3(0.0,0.0,0.0) optional Model rotation angle
gridLineWidth Number 0.5 optional Bulletin board line width
gridSurroundLineWidth Number 0.5 optional Bulletin board serif width
gridSymbolSize gridSymbolSize new Cartesian2(0,0) optional Label size
pictureSymbolSize pictureSymbolSize new Cartesian2(64,64) optional Label picture mode picture size
picturePath String "./images/default.png" optional Image path for label image mode
showMode showMode DotMode.Grid optional Display mode
isNegativeImage Boolean false optional Mirroring
symRank Number 0 optional level
lineSymbolID Number 0 optional Edge type (default solid line)
textPos Number TextPos.Up optional Note location
hasDragLine Boolean false optional Is there a traction line?
dragPoint Cartesian3 new Cartesian3(-1, -1, -1) optional Traction line point
textContent String "" optional Text content

Methods

clone()SymbolDot

克隆标绘对象。
Returns:
克隆后的标绘对象。

getPicturePath()String

Returns:
图片模式路径

getRotate()Object

Returns:
旋转值

getScale()Cartesian3

Returns:
标号缩放值

getShowMode()DotMode

Returns:
点标号显示模式

getSymbolName()String

Returns:
点标号名称

getSymbolSize()Object

Returns:
标号大小

setPicturePath(value)Boolean

Name Type Description
value String 图片模式路径
Returns:
是否设置成功

setRotate(value)Boolean

Name Type Description
value Number 旋转值
Returns:
是否设置成功

setScale(scale)

Name Type Description
scale Cartesian3 点标号缩放值

setShowMode(showMode)

Name Type Description
showMode DotMode 显示模式

setSymbolSize(value)

设置点标号大小
Name Type Description
value Number 点标号大小