Skip to content

worldwind-ui API / worldwind-kit / collectLegends

Function: collectLegends() ​

collectLegends(layers, options?): LegendEntry[]

Defined in: kit/src/legend.ts:29

The layers that have a legend, with their legends.

Parameters ​

layers ​

readonly WWLayer[]

options? ​

CollectLegendsOptions = {}

Returns ​

LegendEntry[]

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.