uniqueValueInfo

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.

Properties

Property Details
description String value used to describe the drawn symbol.
label String value used to label the drawn symbol.
symbol An object used to display the value.
value String value indicating the unique value.

Example

{
  "uniqueValueInfo": {
    "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"
    }
  }
}

Feedback on this topic?