Skip to content

worldwind-ui API / worldwind-kit / KeyboardNavigationOptions

Interface: KeyboardNavigationOptions ​

Defined in: kit/src/keyboard.ts:8

Properties ​

focusable? ​

optional focusable?: boolean

Defined in: kit/src/keyboard.ts:18

Make the canvas focusable with Tab (tabindex="0"). Default true.


label? ​

optional label?: string

Defined in: kit/src/keyboard.ts:20

Accessible name for the canvas.


panFraction? ​

optional panFraction?: number

Defined in: kit/src/keyboard.ts:10

Fraction of the current range the arrow keys pan per press. Default 0.1.


rotateStep? ​

optional rotateStep?: number

Defined in: kit/src/keyboard.ts:14

Degrees of heading per Shift+Left/Right press. Default 10.


tiltStep? ​

optional tiltStep?: number

Defined in: kit/src/keyboard.ts:16

Degrees of tilt per Shift+Up/Down or PageUp/PageDown press. Default 5.


zoomFactor? ​

optional zoomFactor?: number

Defined in: kit/src/keyboard.ts:12

Range multiplier for -; + divides by it. Default 1.5.

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