Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LegendProperties

Hierarchy

Index

Properties

Optional activeLayerInfos

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

Read more...

Optional basemapLegendVisible

basemapLegendVisible: boolean

Indicates whether to show the Basemap layers in the Legend.

Read more...

Optional container

container: string | HTMLElement

The ID or node representing the DOM element containing the widget.

Read more...

Optional headingLevel

headingLevel: number

Indicates the heading level to use for the legend title.

Read more...

Optional iconClass

iconClass: string

The widget's default CSS icon class.

Read more...

Optional id

id: string

The unique ID assigned to the widget when the widget is created.

Read more...

Optional label

label: string

The widget's label.

Read more...

Optional layerInfos

layerInfos: LegendLayerInfos[]

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

Read more...

Optional respectLayerVisibility

respectLayerVisibility: boolean

Determines whether to respect the properties of the layers in the map that control the legend's visibility (minScale, maxScale, legendEnabled).

Read more...

Optional style

style: string | LegendStyle

Indicates the style of the legend.

Read more...

Optional view

view: (MapViewProperties & { type: "2d" }) | (SceneViewProperties & { type: "3d" })

A reference to the MapView or SceneView.

Read more...

Optional viewModel

The view model for this widget.

Read more...

Optional visible

visible: boolean

Indicates whether the widget is visible.

Read more...

Generated using TypeDoc