new SuperMap.ThemeGridUniqueItem(options)
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
captionstring
-
The name of grid unique values map item.
-
colorSuperMap.ServerColor
-
The display color of the grid unique values map item.
-
uniquenumber
-
The value of the grid unique values map item, i.e., the cell value. Cells with same value locate at a same item.
-
visibleboolean
-
The visibility of the ThemeGridUniqueItem.
- Default Value: true
Methods
-
SuperMap.ThemeGridUniqueItem.fromObj(obj){SuperMap.ThemeGridUniqueItem}
ThemeGridUniqueItem.js, line 81 -
Get the grid single valued thematic map subitem from the incoming object.
Name Type Description obj
Object The incoming object.
Returns:
Type Description SuperMap.ThemeGridUniqueItem ThemeGridUniqueItem object. -
destroy()
ThemeGridUniqueItem.js, line 49 -
Disposes the resource. The property that references resource is set to null.
-
toServerJSONObject(){Object}
ThemeGridUniqueItem.js, line 65 -
Turned to the JSON format object.
Returns:
Type Description Object The JSON object.