Skip to content

worldwind-ui API / react-worldwind / LayerSwitcherProps

Interface: LayerSwitcherProps ​

Defined in: react/src/ui/LayerSwitcher.tsx:8

Properties ​

className? ​

optional className?: string

Defined in: react/src/ui/LayerSwitcher.tsx:18


filter? ​

optional filter?: (layer) => boolean

Defined in: react/src/ui/LayerSwitcher.tsx:17

Parameters ​

layer ​

WWLayer

Returns ​

boolean


heading? ​

optional heading?: string | null

Defined in: react/src/ui/LayerSwitcher.tsx:10


hideOverlays? ​

optional hideOverlays?: boolean

Defined in: react/src/ui/LayerSwitcher.tsx:14

Hide screen-space layers such as the compass, and layers owned by tools. Default true.


position? ​

optional position?: PanelPosition

Defined in: react/src/ui/LayerSwitcher.tsx:9


showOpacity? ​

optional showOpacity?: boolean

Defined in: react/src/ui/LayerSwitcher.tsx:12

Show an opacity slider under each layer. Default true.


topFirst? ​

optional topFirst?: boolean

Defined in: react/src/ui/LayerSwitcher.tsx:16

List the top-most layer first. Default true.

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