Skip to content

worldwind-ui API / ngx-worldwind / WwProjectionSwitcherComponent

Class: WwProjectionSwitcherComponent ​

Defined in: angular/src/lib/ui/projection-switcher.component.ts:31

Buttons that switch between the 3D globe and the flat projections.

Constructors ​

Constructor ​

new WwProjectionSwitcherComponent(): WwProjectionSwitcherComponent

Returns ​

WwProjectionSwitcherComponent

Properties ​

heading ​

readonly heading: InputSignal<string | null>

Defined in: angular/src/lib/ui/projection-switcher.component.ts:35


labels ​

readonly labels: InputSignal<Partial<Record<ProjectionKind, string>> | undefined>

Defined in: angular/src/lib/ui/projection-switcher.component.ts:39

Button labels per projection.


panelClass ​

readonly panelClass: InputSignal<string>

Defined in: angular/src/lib/ui/projection-switcher.component.ts:41

Extra classes for the panel (the widget's host element renders nothing itself).


position ​

readonly position: InputSignal<WwPanelPosition>

Defined in: angular/src/lib/ui/projection-switcher.component.ts:34


projections ​

readonly projections: InputSignal<readonly ProjectionKind[]>

Defined in: angular/src/lib/ui/projection-switcher.component.ts:37

Which projections to offer. Defaults to all of them.

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