Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LabelClass

Hierarchy

Index

Properties

declaredClass

declaredClass: string

deconflictionStrategy

deconflictionStrategy: "none" | "static"

Defines how labels should be placed relative to one another.

Read more...

destroyed

destroyed: boolean

initialized

initialized: boolean

labelExpression

labelExpression: string

Defines the content of label text for MapImageLayer.

Read more...

labelExpressionInfo

labelExpressionInfo: LabelClassLabelExpressionInfo

Defines the content of label text for FeatureLayer.

Read more...

labelPlacement

labelPlacement: "above-center" | "above-left" | "above-right" | "below-center" | "below-left" | "below-right" | "center-center" | "center-left" | "center-right" | "above-after" | "above-along" | "above-before" | "above-start" | "above-end" | "below-after" | "below-along" | "below-before" | "below-start" | "below-end" | "center-after" | "center-along" | "center-before" | "center-start" | "center-end" | "always-horizontal"

The position of the label.

Read more...

maxScale

maxScale: number

The maximum scale (most zoomed in) at which labels are visible in the view.

Read more...

minScale

minScale: number

The minimum scale (most zoomed out) at which labels are visible in the view.

Read more...

symbol

Defines the symbol used for rendering the label.

Read more...

useCodedValues

useCodedValues: boolean

Indicates whether to use domain names if the fields in the labelExpression or labelExpressionInfo have domains.

Read more...

where

where: string

A SQL where clause used to determine the features to which the label class should be applied.

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

  • _set<T>(propertyName: string, value: T): LabelClass
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns LabelClass

clone

  • Creates a deep clone of the LabelClass.

    Read more...

    Returns LabelClass

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

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns LabelClass

  • Parameters

    Returns LabelClass

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