Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
The object has the following properties:
|
Members
-
The height of the multimedia information box
-
The width of the multimedia information box
-
The corresponding distance for switching dot symbol mode.
-
Descriptive information for multimedia content
-
multimedia information
-
plot symbol coding
-
Default Value:
-1
-
visibility of object
-
Default Value:
true
-
Whether to enable depth testing for dot plot symbol bulletin board mode
-
Default Value:
true
-
id of plot symbol
-
Whether the dot plot symbol mode switch is enabled
-
current layer
-
LibID of symbol
-
Default Value:
-1
-
localPoints : Array.<MPoint3D>
-
position points of plot symbol
-
Default Value:
[]
-
Is there a annotation border?
-
Default Value:
true
-
Is there an intermediate annotation?
-
Default Value:
false
-
height of annotation handle
-
Default Value:
100
-
symbol name
-
Default Value:
""
-
symbol style
-
Default Value:
new SymbolStyle()
-
readonlysymbolType : SymbolType
-
symbol type
-
Default Value:
SymbolType.SYMBOL_UNKNOW
-
whole height of symbol
Methods
-
Add special effects to plotting object
Name Type Description effect
PlotGeoEffectBase Returns:
array of effects -
Clear the symbol multimedia information list.
-
get array of effects
Returns:
array of effects -
getGeoEffectByID(id) → PlotGeoEffectBase
-
Get effect by effect's ID
Name Type Description id
String id of effect Returns:
effects -
get entity object
Returns:
entity object -
getGeoEntityShowMode() → DotMode
-
Get Entity Object Pattern
Returns:
Entity Object Pattern -
Get the maximum edit point of the symbol
Returns:
the maximum edit point of the label -
Get the minimum edit point of the symbol
Returns:
the minimum edit point of the symbol -
Remove all effects
-
Remove the specified effect by ID
Name Type Description id
Number ID of effect -
Remove the specified effect by index
Name Type Description index
Number index of effect -
Modify the Multi-Annotation Attributes for a Specified Index
Name Type Description index
index optionName
name of attributes("textContent"、"localPoint"、"fontName"、"foreColor"、"fontSize"、"outlineWidth"、"outlineColor"、"outline") value
Attribute value Returns:
-
Set Entity Object
Returns:
entity object -
Set Entity Object Mode
Name Type Description dotMode
DotMode optional Entity Object Pattern -
Convert symbol to GeoJson
Returns:
Converted GeoJson data