worldwind-ui API / react-worldwind / GlobeProps
Interface: GlobeProps ​
Defined in: react/src/Globe.tsx:15
Extends ​
Omit<GlobeOptions,"projection">
Properties ​
assetBaseUrl? ​
optionalassetBaseUrl?: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 ​
bingMapsKey? ​
optionalbingMapsKey?:string
Defined in: kit/src/globe.ts:54
Required for the Bing layers.
Inherited from ​
children? ​
optionalchildren?:ReactNode
Defined in: react/src/Globe.tsx:28
className? ​
optionalclassName?:string
Defined in: react/src/Globe.tsx:18
deepPicking? ​
optionaldeepPicking?:boolean
Defined in: kit/src/globe.ts:50
Pick every object under the cursor, not just the top one.
Inherited from ​
elevation? ​
optionalelevation?:boolean
Defined in: kit/src/globe.ts:47
Terrain elevation. Defaults to true; false gives a smooth ellipsoid and saves bandwidth.
Inherited from ​
fallback? ​
optionalfallback?:ReactNode
Defined in: react/src/Globe.tsx:21
Rendered while WorldWind loads.
keyboard? ​
optionalkeyboard?: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 ​
layers? ​
optionallayers?:BuiltInLayerKind[]
Defined in: kit/src/globe.ts:60
Built-in layers to add straight away, bottom to top.
Inherited from ​
loadOptions? ​
optionalloadOptions?:LoadWorldWindOptions
Defined in: react/src/Globe.tsx:22
logLevel? ​
optionallogLevel?:LogLevel
Defined in: kit/src/globe.ts:55
Inherited from ​
onClick? ​
optionalonClick?:PickHandler
Defined in: react/src/Globe.tsx:25
onDoubleClick? ​
optionalonDoubleClick?:PickHandler
Defined in: react/src/Globe.tsx:26
onError? ​
optionalonError?: (error) =>void
Defined in: react/src/Globe.tsx:24
Parameters ​
error ​
unknown
Returns ​
void
onHover? ​
optionalonHover?:PickHandler
Defined in: react/src/Globe.tsx:27
onReady? ​
optionalonReady?: (globe) =>void
Defined in: react/src/Globe.tsx:23
Parameters ​
globe ​
Returns ​
void
pixelScale? ​
optionalpixelScale?:number
Defined in: kit/src/globe.ts:52
Render scale; window.devicePixelRatio gives crisp output at a GPU cost. Defaults to 1.
Inherited from ​
projection? ​
optionalprojection?:ProjectionKind
Defined in: react/src/Globe.tsx:17
Reactive: changing it switches projection on the live globe.
style? ​
optionalstyle?:CSSProperties
Defined in: react/src/Globe.tsx:19
verticalExaggeration? ​
optionalverticalExaggeration?:number
Defined in: kit/src/globe.ts:56
Inherited from ​
GlobeOptions.verticalExaggeration
view? ​
optionalview?:Partial<CameraState>
Defined in: kit/src/globe.ts:58
Initial camera.