worldwind-ui API / ngx-worldwind / WwLegendComponent
Class: WwLegendComponent ​
Defined in: angular/src/lib/ui/legend.component.ts:38
Legend images of the visible layers, top-most first: WMS and WMTS legends from capabilities, or any image a layer sets through its legend input. Renders nothing when no layer has one.
Constructors ​
Constructor ​
new WwLegendComponent():
WwLegendComponent
Returns ​
WwLegendComponent
Properties ​
entries ​
readonlyentries:Signal<LegendEntry[]>
Defined in: angular/src/lib/ui/legend.component.ts:50
heading ​
readonlyheading:InputSignal<string|null>
Defined in: angular/src/lib/ui/legend.component.ts:42
includeDisabled ​
readonlyincludeDisabled:InputSignal<boolean>
Defined in: angular/src/lib/ui/legend.component.ts:46
Include layers that are switched off.
panelClass ​
readonlypanelClass:InputSignal<string>
Defined in: angular/src/lib/ui/legend.component.ts:48
Extra classes for the panel.
position ​
readonlyposition:InputSignal<WwPanelPosition>
Defined in: angular/src/lib/ui/legend.component.ts:41
showNames ​
readonlyshowNames:InputSignal<boolean>
Defined in: angular/src/lib/ui/legend.component.ts:44
Show the layer name above each legend.