ThemeSetting |
Defines the related properties of the heat map theme setting. For related examples, please refer to HeatLayer.
Attribute | Type | Description |
weight |
string |
Heat map weight field. |
radius |
number |
heat point radius. |
colors |
array<string> |
Heat point fill color. The attribute value is the hexadecimal code corresponding to the color, for example: "#0000ff". |
customSettings |
string |
Custom heat point color, including string type "color" sub-attribute. The attribute value is the hexadecimal code corresponding to the color, for example: "#0000ff". |
In the range map, the values of thematic variables are divided into multiple range segments, and elements or records in the same range segment are displayed with the same color or symbol style. The RangeThemeSetting object defines the related attributes of the range thematic map style setting. For related examples, please refer to RangeLayer.
Attribute | Type | Description |
themeField |
string |
Theme field. |
segmentMethod |
string |
Segmentation method. Options: "offset", "jenks", "square", "logarithm". |
segmentCount |
integer |
The number of segments. |
colors |
array<string> |
The fill color for each range segments. The value is the hexadecimal code corresponding to the color, for example: "#0000ff". |
customSettings |
object |
Contains two sub-attributes "segment"(number type) and "color"(string type), which respectively define the user-defined range segments and fill color. |
The graduated symbol thematic map uses the size of the symbol to express the value of the field or expression (thematic variable) corresponding to the element or record. The RankSymbolThemeSetting object defines the relevant attributes of the graduated symbol thematic map style setting. For related examples, please refer to RankSymbolLayer.
Attribute | Type | Description |
themeField |
string |
Theme field. |
segmentMethod |
string |
Segmentation method. Options: "offset", "jenks", "square", "logarithm". |
segmentCount |
integer |
The number of segments. |
colors |
array<string> |
The fill color for each range segments. The value is the hexadecimal code corresponding to the color, for example: "#0000ff". |
customSettings |
object |
Contains three sub-attributes "segment"(number type), "color"(string type), and "radius"(number type), which respectively define the range segments, fill color, and the radius of the symbol. |
minRadius |
number |
The minimum radius of the symbol. |
maxRadius |
number |
The maximum radius of the symbol. |
Unique values map is to classify elements with the same thematic value into one category, and set a rendering style for each category, and each category is a thematic map sub-item. The UniqueThemeSetting object defines the relevant attributes of the style setting in the unique values map. For related examples, please refer to UniqueLayer.
Attribute | Type | Description |
themeField |
string |
Theme field. |
customSettings |
object/string |
User-defined thematic styles. The feature style is determined by the value of the featureType attribute. If the feature type is "POINT", the custom point feature style should meet PointStyle or Color; if the feature type is "LINE", the line feature style should meet LineStyle or Color; if the feature type is "POLYGON", the polygon feature style should meet PolygonStyle or Color. |
colors |
array<string> |
The fill color of the thematic map. The value is the hexadecimal code corresponding to the color. |
Sets the feature color.
Note: In the custom settings of unique values map, this parameter will be obsolete and will not be used in later versions.
Attribute | Type | Description |
color |
string |
The value is the hexadecimal code corresponding to the color, for example: "#0000ff". |