Skip to content

worldwind-ui API / react-worldwind / GeoJsonLayerProps

Interface: GeoJsonLayerProps ​

Defined in: react/src/layers.tsx:119

Extends ​

Properties ​

attribution? ​

optional attribution?: 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 ​

UseLayerOptions.attribution


displayName? ​

optional displayName?: string

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

Inherited from ​

UseLayerOptions.displayName


enabled? ​

optional enabled?: boolean

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

Inherited from ​

UseLayerOptions.enabled


index? ​

optional index?: number

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

Position in the layer stack (0 = bottom). Applied on creation only.

Inherited from ​

UseLayerOptions.index


legend? ​

optional legend?: string | LayerLegend | null

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

Legend image URL or descriptor.

Inherited from ​

UseLayerOptions.legend


maxActiveAltitude? ​

optional maxActiveAltitude?: number

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

Inherited from ​

UseLayerOptions.maxActiveAltitude


minActiveAltitude? ​

optional minActiveAltitude?: number

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

Inherited from ​

UseLayerOptions.minActiveAltitude


name? ​

optional name?: string

Defined in: react/src/layers.tsx:124

Shown in layer switchers.


onError? ​

optional onError?: (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 ​

UseLayerOptions.onError


onLoad? ​

optional onLoad?: (layer) => void

Defined in: react/src/layers.tsx:125

Parameters ​

layer ​

WWRenderableLayer

Returns ​

void


opacity? ​

optional opacity?: number

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

0..1

Inherited from ​

UseLayerOptions.opacity


pickEnabled? ​

optional pickEnabled?: boolean

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

Inherited from ​

UseLayerOptions.pickEnabled


source ​

source: string | object

Defined in: react/src/layers.tsx:121

A URL, a JSON string, or a GeoJSON object.


style? ​

optional style?: GeoJsonStyle | GeoJsonStyleResolver

Defined in: react/src/layers.tsx:122


timeDimension? ​

optional timeDimension?: TimeDimension | null

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

The instants the layer can show, for time sliders. Read from capabilities when available.

Inherited from ​

UseLayerOptions.timeDimension

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