new SuperMap.ThemeLabelBackground(options)
ThemeLabelBackground.js, line 6
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
backStyleSuperMap.ServerStyle
-
The LabelBackShape enumeration. The background shape can be a rectangle, a round rectangle, a diamond, an ellipse, a triangle, or a symbol.
- Default Value: SuperMap.LabelBackShape.NON
labelBackShapeSuperMap.LabelBackShape
The background style of the label in Label thematic mapping. When the background shape, the labelBackShape attribute, is set to NONE (no background shape is used), the backStyle attribute is invalid.
- Default Value: SuperMap.LabelBackShape.NONE
Methods
-
SuperMap.ThemeLabelBackground.fromObj(obj){SuperMap.ThemeLabelBackground}
ThemeLabelBackground.js, line 51 -
Get the label background style class from the incoming object.
Name Type Description obj
Object The incoming object.
Returns:
Type Description SuperMap.ThemeLabelBackground ThemeLabelBackground object. -
destroy()
ThemeLabelBackground.js, line 38 -
Disposes the resource. The property that references resource is set to null.