Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UniqueValueRenderer

Hierarchy

Index

Properties

authoringInfo

authoringInfo: AuthoringInfo

Authoring metadata only included in renderers generated from one of the Smart Mapping creator methods, such as sizeRendererCreator.createContinuousRenderer() or colorRendererCreator.createContinuousRenderer().

Read more...

backgroundFillSymbol

backgroundFillSymbol: FillSymbol | PolygonSymbol3D

This property is only relevant When symbolizing polygon features with marker symbols (or IconSymbol3DLayer) in the uniqueValueInfos of this renderer.

Read more...

declaredClass

declaredClass: string

defaultLabel

defaultLabel: string

Label used in the Legend to describe features assigned the default symbol.

Read more...

defaultSymbol

defaultSymbol: Symbol

The default symbol used to draw a feature whose value is not matched or specified by the renderer.

Read more...

destroyed

destroyed: boolean

field

field: string

The name of the attribute field the renderer uses to match unique values or types.

Read more...

field2

field2: string

If needed, specifies the name of an additional attribute field the renderer will use to match values.

Read more...

field3

field3: string

If needed, specify the name of a third attribute field the renderer will use to match values.

Read more...

fieldDelimiter

fieldDelimiter: string

String inserted between the values if multiple attribute fields are specified.

Read more...

initialized

initialized: boolean

legendOptions

An object providing options for displaying the renderer in the Legend.

Read more...

Readonly type

type: "unique-value"

The type of Renderer.

Read more...

uniqueValueInfos

uniqueValueInfos: UniqueValueInfo[]

Each element in the array is an object that provides information about a unique value associated with the renderer.

Read more...

valueExpression

valueExpression: string

An Arcade expression evaluating to either a string or a number.

Read more...

valueExpressionTitle

valueExpressionTitle: string

The title identifying and describing the associated Arcade expression as defined in the valueExpression property.

Read more...

visualVariables

visualVariables: VisualVariable[]

An array of VisualVariable objects.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns UniqueValueRenderer

addUniqueValueInfo

  • Adds a unique value and symbol to the renderer.

    Read more...

    Parameters

    Returns void

clone

  • Creates a deep clone of the renderer.

    Read more...

    Returns UniqueValueRenderer

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

getUniqueValueInfo

  • Returns rendering and legend information (as defined by the renderer) associated with the given graphic.

    Read more...

    Parameters

    Returns Promise<UniqueValueInfo>

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

removeUniqueValueInfo

  • removeUniqueValueInfo(value: string | number): void
  • Removes a unique value from the renderer.

    Read more...

    Parameters

    • value: string | number

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns UniqueValueRenderer

  • Parameters

    Returns UniqueValueRenderer

toJSON

  • toJSON(): any
  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc