SymbolDot

Dot symbol class, inherited fromGeoGraphicObject.

new SuperMap3D.SymbolDot(options)

Name Type Description
options Object optional Objects have the following properties:
Name Type Default Description
geoGraphicObject GeoGraphicObject optional Plotting symbol object
Name Type Description
_serverData serverData optional Symbol libaray data
anchorPoint anchorPoint new Cartesian2(0.0, 0.0) optional 2D anchor point of dot symbol
gridSymbolSize gridSymbolSize new Cartesian2(0.0, 0.0) optional Size of dot symbol in bulletin board mode
symbolRanks symbolRanks [] optional Symbol ranks list
scale scale new MPoint3D(1.0, 1.0, 1.0) optional Scale
rotate rotate new MPoint3D(1.0, 1.0, 1.0) optional Rotation angle
modelScale modelScale new MPoint3D(5000.0,5000.0,5000.0) optional Model scale
modelPath modelPath './models/car/Cesium_Ground.gltf' optional Model path
modelRotate modelRotate new MPoint3D(0.0,0.0,0.0) optional Model rotation angle
modelColor Color new SuperMap3D.Color(1, 1, 1, 1) optional Model color
gridLineWidth Number 0.5 optional Line width of dot symbol in bulletin board mode
gridSurroundLineWidth Number 0.5 optional Surround line width of dot symbol in bulletin board mode
gridSymbolSize gridSymbolSize new Cartesian2(0,0) optional Symbol size
pictureSymbolSize pictureSymbolSize new Cartesian2(64,64) optional Picture size of dot symbol in picture mode
picturePath String "./images/default.png" optional Picture path of dot symbol in picture mode
pictureColor Color new SuperMap3D.Color(1, 1, 1, 1) optional Picture color of dot symbol in picture mode
showMode showMode DotMode.Grid optional Display mode
isNegativeImage Boolean false optional Mirror image
symRank Number 0 optional Ranks
lineSymbolID Number 0 optional Line type (default solid line)
textPos Number TextPos.Up optional Annotation location
hasDragLine Boolean false optional Is there a traction line?
dragPoint MPoint3D new MPoint3D(-1, -1, -1) optional Traction point
textContent String "" optional Text content
bIsShowBloodVolume Boolean false optional Does it show blood stripes?
bloodVolumes BloodVolume [] optional Array of blood stripe objects

Members

alwaysHasMiddelText : Boolean

Does the bulletin board always display the middle annotation?

anchorPoint : Cartesian2

Dot symbol anchor
Default Value: Cartesian2(0,0)

billboardBoundsColor : Color

Selection box color for bulletin board/picture/model

billboardBoundsLineWidth : Number

Selection box line width for bulletin board/picture/model

dragPoint : MPoint3D

Traction point
Default Value: MPoint3D(0,0,0)

gridLineWidth : Number

Line width of dot symbol in bulletin board mode
Default Value: 3

gridSurroundLineWidth : Number

Surround line width of dot symbol in bulletin board mode
Default Value: 0.5

gridSymbolSize : Cartesian2

Size of dot symbol in bulletin board mode
Default Value: Cartesian2(-1,-1)

hasDragLine : Boolean

Is there a traction line?
Default Value: false

isNegativeImage : Boolean

Whether the dot symbol is a mirror image
Default Value: false

lineSymbolID : Number

Line type
Default Value: 0

middleMarkBounds : Object

Middle annotation border

minimumPixelSize : Number

Model minimum pixel size, regardless of scaling, when it is 0, no minimum is enforced

modelAnimationLoop : ModelAnimationLoop

Model skeleton animation loop
Default Value: ModelAnimationLoop.REPEAT

modelAnimationMultiplier : Number

Model skeleton animation play speed multiplier
Default Value: 1.0

modelAnimationPlay : Boolean

Whether to load the model skeletal animation
Default Value: true

modelAnimationReverse : Boolean

Whether the model skeleton animation is playing in reverse
Default Value: false

modelColor : Color

Model color of dot symbol
Default Value: Color(1,1,1,1)

modelPath : String

Model resource path of dot symbol
Default Value: ./models/car/Cesium_Ground.gltf

modelRotate : MPoint3D

Model rotation value of dot symbol
Default Value: MPoint3D(0,0,0)

modelScale : Number

Model scale value of dot symbol
Default Value: 1

pictureColor : Color

Dot symbol image color (Note: The final color is the result of multiplying the image color with the image texture. If you only want to use the image color, it is recommended to change the image texture to a white background.)
Default Value: Color(1,1,1,0)

pictureColor : Color

Dot symbol picture color

picturePath : String

Picture path of dot symbol

pictureSymbolSize : Cartesian2

Picture size of dot symbol in picture mode
Default Value: Cartesian2(-1,-1)

rotate : MPoint3D

Dot symbol rotation angle
Default Value: MPoint3D(0,0,0)

scale : Number

Scale value
Default Value: 1

scalePoints : Array.<MPoint3D>

Scale point

scaleValues : Array.<Number>

Scale value of symbol

showMode : DotMode

Display mode of dot symbol
Default Value: Grid

sizeInMeters : Boolean

Whether the billboard and image symbol enable meters as the unit (pixels if false)

symbolRank : Number

Ranks of dot symbol
Default Value: 0

symbolRanks : Array.<Number>

Symbol ranks list

symbolSize : Cartesian2

Symbol size

textContent : String

Text content of dot symbol and primitive annotations
Default Value: ""

textPos : TextPos

Annotation position of dot symbol
Default Value: TextPos.Up

vectorRotate : MPoint3D

Rotation value of dot symbol in vector mode
Default Value: MPoint3D(0,0,0)

vectorScale : Number

Scale value of dot symbol in vector mode
Default Value: 1

Methods

addBloodVolume()

Add blood stripe

clone()SymbolDot

Clone plotting object
Returns:
The cloned plotting object

getPicturePath()String

Set dot symbol picture mode path
Returns:
Picture mode path

getSymbolName()String

Get dot symbol name
Returns:
Dot symbol name

setRenderObjectVisbel(value)

Sets whether the render object is displayed
Name Type Description
value Boolean Whether to display