Plotting symbol class
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
The object has the following properties:
|
Members
-
anchor : Cartesian2
-
Point label anchor
-
Default Value:
Cartesian2(0,0)
-
Label coding
-
Default Value:
-1
-
dragPoint : Cartesian3
-
Point labeling point
-
Default Value:
Cartesian3(0,0,0)
-
Point label bulletin board line width
-
Default Value:
3
-
Point label bulletin board line width
-
Default Value:
0.5
-
gridSymbolSize : Cartesian2
-
Point label board size
-
Default Value:
Cartesian2(-1,-1)
-
Whether the point label has a pull line
-
Default Value:
false
-
Label id
-
Whether the point label is a mirror
-
Default Value:
false
-
Whether to use pixel lines
-
Current layer
-
Label library code
-
Default Value:
-1
-
Point label edge type
-
Default Value:
0
-
localPoints : Array.<Cartesian3>
-
Label position point
-
Default Value:
Array
-
Is there a note border?
-
Default Value:
true
-
Is there an intermediate note?
-
Default Value:
false
-
Point label model resource path
-
Default Value:
""
-
modelRotate : Cartesian3
-
Point label model rotation value
-
Default Value:
Cartesian3(1,1,1)
-
modelScale : Cartesian3
-
Point label model scaling value
-
Default Value:
Cartesian3(1,1,1)
-
Point label image path
-
pictureSymbolSize : Cartesian2
-
Point label picture mode size
-
Default Value:
Cartesian2(-1,-1)
-
rotate : Cartesian3
-
Point label rotation angle
-
Default Value:
Cartesian3(0,0,0)
-
Scaling scale value
-
Default Value:
1
-
scalePoints : Array.<Cartesian3>
-
Labeling point
-
Label scale value
-
showMode : DotMode
-
Point label display model
-
Default Value:
Grid
-
Note handle height
-
Default Value:
100
-
subSymbols : Array.<GeoGraphicObject>
-
Sub label array
-
Label name
-
Default Value:
""
-
Point label level
-
Default Value:
0
-
Point label level list
-
Label style
-
Default Value:
new SymbolStyle()
-
readonlysymbolType : SymbolType
-
Label type
-
Default Value:
SymbolType.SYMBOL_UNKNOW
-
Point label annotation
-
Default Value:
""
-
textPos : TextPos
-
Point label annotation position
-
Default Value:
TextPos.Up
-
Object visibility
-
Default Value:
true
Methods
-
staticCesium.GeoGraphicObject.fromGeoJson(geoJSON) → GeoGraphicObject
-
Convert geoJson to a plot object
Name Type Description geoJSON
JSON GeoJson format data Returns:
Converted plot object -
Convert the label to GeoJson
Name Type Description graphicObject
GeoGraphicObject optional Label object geoJsonStr
String optional Converted GeoJson data Returns:
Converted GeoJson data -
Get the label maximum edit point
Returns:
Get the label maximum edit point -
Get the label minimum edit point
Returns:
Label minimum edit point