worldwind-ui API / ngx-worldwind / WwGlobeComponent
Class: WwGlobeComponent ​
Defined in: angular/src/lib/globe.component.ts:58
Renders a WorldWind globe. options apply on creation; projection is reactive. Project layer, shape and widget components inside it; content marked wwFallback shows while WorldWind loads.
<ww-globe [options]="{ layers: ['blue-marble-landsat', 'atmosphere'] }" style="height: 480px">
<span wwFallback>Loading…</span>
<ww-layer-switcher />
</ww-globe>Constructors ​
Constructor ​
new WwGlobeComponent():
WwGlobeComponent
Defined in: angular/src/lib/globe.component.ts:98
Returns ​
WwGlobeComponent
Properties ​
cameraState ​
readonlycameraState:WritableSignal<CameraState|null>
Defined in: angular/src/lib/globe.component.ts:84
Camera state, updated after each frame in which it changed.
error ​
readonlyerror:WritableSignal<unknown>
Defined in: angular/src/lib/globe.component.ts:78
errorMessage ​
readonlyerrorMessage:Signal<string|null>
Defined in: angular/src/lib/globe.component.ts:79
globe ​
readonlyglobe:WritableSignal<GlobeController|null>
Defined in: angular/src/lib/globe.component.ts:77
The controller, null until WorldWind has loaded.
globeClick ​
readonlyglobeClick:OutputEmitterRef<PickEvent>
Defined in: angular/src/lib/globe.component.ts:72
globeDoubleClick ​
readonlyglobeDoubleClick:OutputEmitterRef<PickEvent>
Defined in: angular/src/lib/globe.component.ts:73
globeHover ​
readonlyglobeHover:OutputEmitterRef<PickEvent>
Defined in: angular/src/lib/globe.component.ts:74
hoverPick ​
readonlyhoverPick:WritableSignal<PickResult|null>
Defined in: angular/src/lib/globe.component.ts:88
Latest hover pick while hover picking is active.
hoverPicking ​
readonlyhoverPicking:InputSignal<boolean>
Defined in: angular/src/lib/globe.component.ts:68
Pick under the mouse on every frame and expose it as hoverPick / globeHover. Off by default because picking costs GPU time; widgets that need it turn it on themselves.
layers ​
readonlylayers:WritableSignal<readonlyWWLayer[]>
Defined in: angular/src/lib/globe.component.ts:86
Layers bottom to top, updated on every change.
loadError ​
readonlyloadError:OutputEmitterRef<unknown>
Defined in: angular/src/lib/globe.component.ts:71
loadOptions ​
readonlyloadOptions:InputSignal<LoadWorldWindOptions|undefined>
Defined in: angular/src/lib/globe.component.ts:63
options ​
readonlyoptions:InputSignal<GlobeOptions>
Defined in: angular/src/lib/globe.component.ts:60
Creation options (layers, view, elevation, asset URL, ...). Applied once.
projection ​
readonlyprojection:InputSignal<ProjectionKind|undefined>
Defined in: angular/src/lib/globe.component.ts:62
Reactive projection switch.
projectionState ​
readonlyprojectionState:WritableSignal<ProjectionKind>
Defined in: angular/src/lib/globe.component.ts:90
The current projection, updated whenever it changes.
ready ​
readonlyready:OutputEmitterRef<GlobeController>
Defined in: angular/src/lib/globe.component.ts:70
Accessors ​
shapeEvents ​
Get Signature ​
get shapeEvents():
ShapeEventRegistry
Defined in: angular/src/lib/globe.component.ts:116
Routes picks to shape components. Available once the globe is ready.
Returns ​
Methods ​
acquireHover() ​
acquireHover(): () =>
void
Defined in: angular/src/lib/globe.component.ts:122
Turns hover picking on until the returned function is called (reference counted).
Returns ​
() => void