UniqueValueRenderer

constructor(fieldNames: Iterable<String> = emptyList(), uniqueValues: Iterable<UniqueValue> = emptyList(), defaultLabel: String = "", defaultSymbol: Symbol? = null)

Creates a new unique value renderer object.

Since

200.1.0

Parameters

fieldNames

A collection of the field names/attribute keys that the unique values apply to.

uniqueValues

A collection of unique values used by the renderer to select a symbol.

defaultLabel

The label used for the default symbol.

defaultSymbol

The default symbol for values that don't match any of the unique values.