Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LegendViewModel

Hierarchy

Index

Properties

activeLayerInfos

activeLayerInfos: Collection<ActiveLayerInfo>

Collection of ActiveLayerInfo objects used by the legend view to display data in the legend.

Read more...

basemapLegendVisible

basemapLegendVisible: boolean

Indicates whether to show the Basemap layers in the Legend.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

layerInfos

Specifies a subset of the layers in the map to display in the legend.

Read more...

Readonly state

state: "disabled" | "ready"

The view model's state.

Read more...

view

The view from which the widget will operate.

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 LegendViewModel

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 LegendViewModel

  • Parameters

    Returns LegendViewModel

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc