worldwind-ui API / react-worldwind / CustomLayerProps
Interface: CustomLayerProps<L> ​
Defined in: react/src/layers.tsx:219
Extends ​
Type Parameters ​
L ​
L extends WWLayer
Properties ​
attribution? ​
optionalattribution?:string|LayerAttribution|null
Defined in: kit/src/layers.ts:86
Credit for the layer's data; null suppresses the default of a built-in layer.
Inherited from ​
children? ​
optionalchildren?: (layer) =>ReactNode
Defined in: react/src/layers.tsx:224
Parameters ​
layer ​
L
Returns ​
ReactNode
create ​
create: (
globe) =>L
Defined in: react/src/layers.tsx:221
Builds any WorldWind layer, e.g. new globe.worldWind.WmtsLayer(config).
Parameters ​
globe ​
Returns ​
L
deps? ​
optionaldeps?:DependencyList
Defined in: react/src/layers.tsx:223
Recreate the layer when these change.
displayName? ​
optionaldisplayName?:string
Defined in: kit/src/layers.ts:78
Inherited from ​
enabled? ​
optionalenabled?:boolean
Defined in: kit/src/layers.ts:79
Inherited from ​
index? ​
optionalindex?:number
Defined in: react/src/hooks.ts:153
Position in the layer stack (0 = bottom). Applied on creation only.
Inherited from ​
legend? ​
optionallegend?:string|LayerLegend|null
Defined in: kit/src/layers.ts:88
Legend image URL or descriptor.
Inherited from ​
maxActiveAltitude? ​
optionalmaxActiveAltitude?:number
Defined in: kit/src/layers.ts:84
Inherited from ​
UseLayerOptions.maxActiveAltitude
minActiveAltitude? ​
optionalminActiveAltitude?:number
Defined in: kit/src/layers.ts:83
Inherited from ​
UseLayerOptions.minActiveAltitude
onError? ​
optionalonError?: (error) =>void
Defined in: react/src/hooks.ts:155
Called when an asynchronous create rejects. Defaults to console.error.
Parameters ​
error ​
unknown
Returns ​
void
Inherited from ​
opacity? ​
optionalopacity?:number
Defined in: kit/src/layers.ts:81
0..1
Inherited from ​
pickEnabled? ​
optionalpickEnabled?:boolean
Defined in: kit/src/layers.ts:82
Inherited from ​
timeDimension? ​
optionaltimeDimension?:TimeDimension|null
Defined in: kit/src/layers.ts:90
The instants the layer can show, for time sliders. Read from capabilities when available.