Skip to content

Represents a group of unique value classes (i.e. symbols). This is used to group symbols under a common heading and/or when representing multiple unique values with a single symbol.

Referenced by: UniqueValue Renderer

Properties

Property Details
classes[] Specifies the classes (i.e. symbols) to group under a common heading. Classes may be included here without a heading when representing multiple values with a single symbol.
heading The heading to be displayed for the collection of classes defined in this group.

A group with heading Example

A Unique Value Renderer where multiple unique value info objects are organized under a legend heading.

{ "classes": [ { "label": "Freeway", "symbol": { "type": "LineSymbol3D", "symbolLayers": [ { "type": "Line", "material": { "color": [ 48, 255, 234 ] }, "size": 1 } ] }, "values": [ [ "Interstate" ], [ "Expressway" ] ] }, { "label": "U.S. Highway", "symbol": { "type": "LineSymbol3D", "symbolLayers": [ { "type": "Line", "material": { "color": [ 255, 98, 7 ] }, "size": 1 } ] }, "values": [ [ "Major highway" ], [ "Minor highway" ] ] }, { "label": "Local Highway", "symbol": { "type": "LineSymbol3D", "symbolLayers": [ { "type": "Line", "material": { "color": [ 239, 55, 172 ] }, "size": 1 } ] }, "values": [ [ "State hwy" ] ] } ] }

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.