Skip to content

worldwind-ui API / react-worldwind / GlobeProps

Interface: GlobeProps ​

Defined in: react/src/Globe.tsx:15

Extends ​

Properties ​

assetBaseUrl? ​

optional assetBaseUrl?: string | null

Defined in: kit/src/globe.ts:45

Where WorldWind's image assets live. Defaults to a CDN copy matching the installed WorldWind. Pass null to keep whatever WorldWind detected itself (only works when it was loaded from a <script> tag).

Inherited from ​

GlobeOptions.assetBaseUrl


bingMapsKey? ​

optional bingMapsKey?: string

Defined in: kit/src/globe.ts:54

Required for the Bing layers.

Inherited from ​

GlobeOptions.bingMapsKey


children? ​

optional children?: ReactNode

Defined in: react/src/Globe.tsx:28


className? ​

optional className?: string

Defined in: react/src/Globe.tsx:18


deepPicking? ​

optional deepPicking?: boolean

Defined in: kit/src/globe.ts:50

Pick every object under the cursor, not just the top one.

Inherited from ​

GlobeOptions.deepPicking


elevation? ​

optional elevation?: boolean

Defined in: kit/src/globe.ts:47

Terrain elevation. Defaults to true; false gives a smooth ellipsoid and saves bandwidth.

Inherited from ​

GlobeOptions.elevation


fallback? ​

optional fallback?: ReactNode

Defined in: react/src/Globe.tsx:21

Rendered while WorldWind loads.


keyboard? ​

optional keyboard?: boolean | KeyboardNavigationOptions

Defined in: kit/src/globe.ts:65

Keyboard navigation on the canvas (arrows pan, plus and minus zoom, Shift+arrows rotate and tilt, Home resets). On by default; false disables it, an object tunes it.

Inherited from ​

GlobeOptions.keyboard


layers? ​

optional layers?: BuiltInLayerKind[]

Defined in: kit/src/globe.ts:60

Built-in layers to add straight away, bottom to top.

Inherited from ​

GlobeOptions.layers


loadOptions? ​

optional loadOptions?: LoadWorldWindOptions

Defined in: react/src/Globe.tsx:22


logLevel? ​

optional logLevel?: LogLevel

Defined in: kit/src/globe.ts:55

Inherited from ​

GlobeOptions.logLevel


onClick? ​

optional onClick?: PickHandler

Defined in: react/src/Globe.tsx:25


onDoubleClick? ​

optional onDoubleClick?: PickHandler

Defined in: react/src/Globe.tsx:26


onError? ​

optional onError?: (error) => void

Defined in: react/src/Globe.tsx:24

Parameters ​

error ​

unknown

Returns ​

void


onHover? ​

optional onHover?: PickHandler

Defined in: react/src/Globe.tsx:27


onReady? ​

optional onReady?: (globe) => void

Defined in: react/src/Globe.tsx:23

Parameters ​

globe ​

GlobeController

Returns ​

void


pixelScale? ​

optional pixelScale?: number

Defined in: kit/src/globe.ts:52

Render scale; window.devicePixelRatio gives crisp output at a GPU cost. Defaults to 1.

Inherited from ​

GlobeOptions.pixelScale


projection? ​

optional projection?: ProjectionKind

Defined in: react/src/Globe.tsx:17

Reactive: changing it switches projection on the live globe.


style? ​

optional style?: CSSProperties

Defined in: react/src/Globe.tsx:19


verticalExaggeration? ​

optional verticalExaggeration?: number

Defined in: kit/src/globe.ts:56

Inherited from ​

GlobeOptions.verticalExaggeration


view? ​

optional view?: Partial<CameraState>

Defined in: kit/src/globe.ts:58

Initial camera.

Inherited from ​

GlobeOptions.view

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