Plotting symbols
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
The object has the following properties:
|
Members
-
anchor : Cartesian2
-
Point-labeled anchor
-
Default Value:
Cartesian2(0,0)
-
Labeled coding
-
Default Value:
-1
-
Object visibility
-
Default Value:
true
-
dragPoint : PlotPoint3D
-
Towing point
-
Default Value:
PlotPoint3D(0,0,0)
-
Point mark billboard line width
-
Default Value:
3
-
Point marking billboard serif line width
-
Default Value:
0.5
-
gridSymbolSize : Cartesian2
-
Point mark billboard size
-
Default Value:
Cartesian2(-1,-1)
-
Does the point label have a traction line
-
Default Value:
false
-
Label id
-
Point label is mirror image (optional)
-
Default Value:
false
-
Use pixel lines (optional)
-
Current layer
-
Label library coding
-
Default Value:
-1
-
Point label edge type
-
Default Value:
0
-
localPoints : Array.<PlotPoint3D>
-
Label position point
-
Default Value:
Array
-
Annotation border(optional)
-
Default Value:
true
-
Middle note
-
Default Value:
false
-
Point labeling model resource path
-
Default Value:
""
-
modelRotate : PlotPoint3D
-
Point label model rotation value
-
Default Value:
PlotPoint3D(1,1,1)
-
modelScale : PlotPoint3D
-
Point labeling model scaling value
-
Default Value:
PlotPoint3D(1,1,1)
-
Point label image path
-
pictureSymbolSize : Cartesian2
-
Point label picture mode size
-
Default Value:
Cartesian2(-1,-1)
-
rotate : PlotPoint3D
-
Point label rotation angle
-
Default Value:
PlotPoint3D(0,0,0)
-
Scaling value
-
Default Value:
1
-
scalePoints : Array.<PlotPoint3D>
-
Scale point
-
Scale value
-
showMode : DotMode
-
Point label display model
-
Default Value:
Grid
-
Note handle height
-
Default Value:
100
-
subSymbols : Array.<GeoGraphicObject>
-
Sublabel array
-
Label name
-
Default Value:
""
-
Point marking level
-
Default Value:
0
-
Point labeling level list
-
symbolSize : Cartesian2
-
Point label size
-
Label style
-
Default Value:
new SymbolStyle()
-
readonlysymbolType : SymbolType
-
Label type
-
Default Value:
SymbolType.SYMBOL_UNKNOW
-
Mark the content
-
Default Value:
""
-
textPos : TextPos
-
Point mark mark position
-
Default Value:
TextPos.Up
Methods
-
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 maximum edit point of the label
Returns:
Get the maximum edit point of the label -
Get the minimum edit point of the label
Returns:
Minimum edit point of label -
Modify multiple annotation attributes
Name Type Description index
optionName
value
Returns: