new mapboxgl.supermapThemeGraphText(options)
ThemeGraphText.js, line 6
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
graphTextDisplayedboolean
-
Whether to display the text label on the graph map.
-
graphTextFormatmapboxgl.supermapThemeGraphTextFormat
-
The ThemeGraphTextFormat, such as the percentage, title, real value, title+percentage, tile+real value, etc.
- Default Value: mapboxgl.supermapThemeGraphTextFormat.CAPTION
graphTextStylemapboxgl.supermapServerTextStyle
The text label style on the graph map.
Methods
-
static fromObj(obj){mapboxgl.supermapThemeGraphText}
ThemeGraphText.js, line 59 -
Getting the style class of the statistical graph text from the incoming object.
Name Type Description objObject The incoming object
Returns:
Type Description mapboxgl.supermapThemeGraphText ThemeGraphText object. -
destroy()
ThemeGraphText.js, line 45 -
Disposes the resource. The property that references resource is set to null.