new ol.supermap.ThemeLabelBackground(options)
ThemeLabelBackground.js, line 6
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
backStyleol.supermap.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: ol.supermap.LabelBackShape.NON
labelBackShapeol.supermap.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: ol.supermap.LabelBackShape.NONE
Methods
-
static fromObj(obj){ol.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 ol.supermap.ThemeLabelBackground ThemeLabelBackground object. -
destroy()
ThemeLabelBackground.js, line 38 -
Disposes the resource. The property that references resource is set to null.