worldwind-ui API / worldwind-kit / handleNavigationKey
Function: handleNavigationKey() ​
handleNavigationKey(
globe,event,options?):boolean
Defined in: kit/src/keyboard.ts:35
Applies one key press to the camera. Returns true when the key was handled. Arrow keys pan relative to the current heading; +/- zoom; Shift+arrows rotate and tilt; PageUp/PageDown tilt; Home resets heading, tilt and roll.
Parameters ​
globe ​
event ​
Pick<KeyboardEvent, "key" | "shiftKey" | "altKey" | "ctrlKey" | "metaKey">
options? ​
KeyboardNavigationOptions = {}
Returns ​
boolean