worldwind-ui API / react-worldwind / LayerSwitcherProps
Interface: LayerSwitcherProps ​
Defined in: react/src/ui/LayerSwitcher.tsx:8
Properties ​
className? ​
optionalclassName?:string
Defined in: react/src/ui/LayerSwitcher.tsx:18
filter? ​
optionalfilter?: (layer) =>boolean
Defined in: react/src/ui/LayerSwitcher.tsx:17
Parameters ​
layer ​
Returns ​
boolean
heading? ​
optionalheading?:string|null
Defined in: react/src/ui/LayerSwitcher.tsx:10
hideOverlays? ​
optionalhideOverlays?: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? ​
optionalposition?:PanelPosition
Defined in: react/src/ui/LayerSwitcher.tsx:9
showOpacity? ​
optionalshowOpacity?:boolean
Defined in: react/src/ui/LayerSwitcher.tsx:12
Show an opacity slider under each layer. Default true.
topFirst? ​
optionaltopFirst?:boolean
Defined in: react/src/ui/LayerSwitcher.tsx:16
List the top-most layer first. Default true.