API

Class GeospatialCameraKeyboardInput

Manage the keyboard inputs to control the movement of a geospatial camera. Arrow keys + Modifier key (ctrl/alt/option on mac): rotate Arrow keys alone: pan

  • / - keys: zoom in/out

Implements

Index

Defines the camera the input is attached to.

keysDown: number[] = ...

Defines the list of key codes associated with the down action (pan down)

keysLeft: number[] = ...

Defines the list of key codes associated with the left action (pan left)

keysRight: number[] = ...

Defines the list of key codes associated with the right action (pan right)

keysUp: number[] = ...

Defines the list of key codes associated with the up action (pan up)

keysZoomIn: number[] = ...

Defines the list of key codes associated with zoom in (+ or =)

keysZoomOut: number[] = ...

Defines the list of key codes associated with zoom out (-)