The following is a list of properties found on the uniqueValueInfo object, which is one of the properties on the renderer object. The uniqueValueInfo object contains the symbology for each uniquely drawn value in the renderer.

Referenced by: Predominance Renderer, UniqueValue Renderer

Properties

PropertyDetails
alternateSymbols[]An array of symbol alternatives to a primary symbol. When alternative symbols are present, each symbol has minimum scale and maximum scale at which the symbol should be made visible. For any renderer that support alternate symbols, there is a primary symbol that has minimum and maximum scale defined. When rendering these renderer classes, the renderer should pick only one symbol at a given map scale for a given renderer class. The order of picking a symbol should be starting with primary symbol to check if it falls within the map’s scale first before it iterates through alternate symbols in the array starting from 0. The renderer will then pick the first symbol that is visible at current map scale. A symbol is visible if the map scale is greater than symbol’s maximum scale and less than or equal to symbol’s minimum scale.
descriptionString value used to describe the drawn symbol.
labelString value used to label the drawn symbol.
symbolAn object used to display the value.
valueString value indicating the unique value.

uniqueValueInfo Example

{
"value": "Pacific",
"label": "Pacific region",
"description": "The Pacific region description",
"symbol": {
"color": [
255,
0,
0,
128
],
"outline": {
"color": [
0,
0,
0,
255
],
"width": 1,
"type": "esriSLS",
"style": "esriSLSSolid"
},
"type": "esriSFS",
"style": "esriSFSSolid"
}
}

uniqueValueInfo with alternateSymbols Example

{
"symbol": {
"type": "CIMSymbolReference",
"symbol": {
"type": "CIMLineSymbol",
"symbolLayers": [
{
"type": "CIMSolidStroke",
"enable": true,
"name": "Group 17",
"colorLocked": true,
"capStyle": "Butt",
"joinStyle": "Round",
"lineStyle3D": "Strip",
"miterLimit": 10,
"width": 2,
"color": [
253,
253,
253,
255
]
},
{
"type": "CIMSolidStroke",
"enable": true,
"name": "Group 18",
"capStyle": "Butt",
"joinStyle": "Round",
"lineStyle3D": "Strip",
"miterLimit": 10,
"width": 3.5,
"color": [
204,
201,
190,
255
]
}
]
},
"minScale": 72223.819286
},
"alternateSymbols": [
{
"type": "CIMSymbolReference",
"symbol": {
"type": "CIMLineSymbol",
"symbolLayers": [
{
"type": "CIMSolidStroke",
"enable": true,
"name": "Group 17",
"capStyle": "Round",
"joinStyle": "Round",
"lineStyle3D": "Strip",
"miterLimit": 10,
"width": 1,
"color": [
156,
156,
156,
255
]
}
]
},
"minScale": 144447.638572,
"maxScale": 72223.819286
}
],
"value": "residential",
"label": "residential; living_street; tertiary; tertiary_link; unclassified; unknown"
}