Skip to content

worldwind-ui API / react-worldwind / useLegends

Function: useLegends() ​

useLegends(options?): LegendEntry[]

Defined in: react/src/hooks.ts:316

The layers that have a legend (enabled ones by default, top-most first), updated on every layer change.

Parameters ​

options? ​

CollectLegendsOptions = {}

Returns ​

LegendEntry[]

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