Skip to content

worldwind-ui API / worldwind-kit / setLayerAttribution

Function: setLayerAttribution() ​

setLayerAttribution<L>(layer, attribution): L

Defined in: kit/src/layers.ts:220

Records the credit a layer should display; null hides the built-in default.

Type Parameters ​

L ​

L extends WWLayer

Parameters ​

layer ​

L

attribution ​

string | LayerAttribution | null

Returns ​

L

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