new SuperMap.ThemeGridUnique(options)
The ThemeGridUnique categorizes pixels with the same attribute value into one class. Different classes are represented with different colors.
The grid unique values map is applicable to discrete grid data and a part of continuous grid data. For the continuous grid data with cell values different from each other, using grid unique values map is meaningless.
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Extends
Members
-
defaultcolorSuperMap.ServerColor
-
The default color of grid unique values map. Those features that are not included in the items of the thematic map will use this color to display.
-
itemsArray.<SuperMap.ThemeGridUniqueItem>
-
The ThemeGridUniqueItem array categorizes pixels with the same attribute value into one class. Each class is a thematic map item.
-
memoryDataSuperMap.ThemeMemoryData
-
The ThemeMemoryData
The way of making thematic maps with the ThemeMemoryData and the ways of making thematic maps are mutually exclusive, the former has higher priority。 The first parameter represents the thematic value, that is, the data set is used to do the values of the fields or expressions of the thematic graph. The second parameters represent the external values. In the production of a thematic map, the external value is used instead of the topic value to make the corresponding thematic maps. -
typestring
-
type of the thematic mapping.
Methods
-
SuperMap.ThemeGridUnique.fromObj(obj){SuperMap.ThemeGridUnique}
ThemeGridUnique.js, line 99 -
Get the grid unique valued thematic map from the incoming object.
Name Type Description obj
Object The incoming object
Returns:
Type Description SuperMap.ThemeGridUnique ThemeGridUnique object. -
inherited destroy()
Theme.js, line 41 -
Disposes the resource. The property that references resource is set to null.
-
inherited destroy()
Theme.js, line 41 -
Disposes the resource. The property that references resource is set to null.
-
toServerJSONObject(){Object}
ThemeGridUnique.js, line 75 -
Turned to the JSON format object.
Returns:
Type Description Object The JSON object.