UniqueValue

A unique value object.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(description: String = "", label: String = "", symbol: Symbol? = null, values: Iterable<Any> = emptyList(), alternateSymbols: Iterable<Symbol> = emptyList())

Creates a new unique value (or unique combination of values) object with alternate symbols. A unique value can have alternate symbols to the primary symbol. Alternate symbols allow you to tailor the visualization of unique value at different scales by selecting different symbol for different scales. Alternate symbols are supported only when unique value's primary symbol and other symbols in alternate symbol list are of type MultilayerSymbol and have SymbolReferenceProperties defining valid min max scales at which the symbol becomes visible. Renderer will pick only one symbol at a given map scale. If primary symbol's scale range falls within the map's scale, primary symbol is used. If not, then symbols in alternate symbols list are iterated through and first symbol matching the current map scale is picked for rendering. A symbol becomes visible if the map scale is less than or equal to symbol's minimum scale and greater than symbol's maximum scale. For more information on Scale-based symbol classes and alternate symbols see Use scale-based symbol classes.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The alternate symbols for the unique value's primary symbol. Symbols in this list should be of type MultilayerSymbol and must have SymbolReferenceProperties set with valid minimum and maximum scale at which symbol becomes visible. Renderer will pick only one symbol at a given map scale. If primary symbol's scale range falls within the map's scale, primary symbol is used. If not, then symbols in alternate symbols list are iterated through and first symbol matching the current map scale is picked for rendering. A symbol becomes visible if the map scale is less than or equal to symbol's minimum scale and greater than symbol's maximum scale.

Link copied to clipboard

A description of the unique value. "Parcels zoned for residential use", for example.

Link copied to clipboard

A label for the unique value. "Residential", for example.

Link copied to clipboard

A symbol used to represent elements with this unique value.

Link copied to clipboard

A MutableList containing Any types that define a unique value or unique combination of values.

Functions

Link copied to clipboard

Clones the UniqueValue.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Inherited functions

Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.