Skip to content

worldwind-ui API / worldwind-kit / GlobeOptions

Interface: GlobeOptions ​

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

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).


bingMapsKey? ​

optional bingMapsKey?: string

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

Required for the Bing layers.


deepPicking? ​

optional deepPicking?: boolean

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

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


elevation? ​

optional elevation?: boolean

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

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


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.


layers? ​

optional layers?: BuiltInLayerKind[]

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

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


logLevel? ​

optional logLevel?: LogLevel

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


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.


projection? ​

optional projection?: ProjectionKind

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


verticalExaggeration? ​

optional verticalExaggeration?: number

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


view? ​

optional view?: Partial<CameraState>

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

Initial camera.

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