cursorKeyboardRotationOptions property

CursorKeyboardRotationOptions cursorKeyboardRotationOptions
final

Options to configure cursor/keyboard rotation

Cursor/keyboard rotation is designed for desktop platforms, and allows the cursor to be used to set the rotation of the map whilst a keyboard key is held down (as triggered by CursorKeyboardRotationOptions.isKeyTrigger).

By default, rotation is triggered if any key in CursorKeyboardRotationOptions.defaultTriggerKeys is held (any of the "Control" keys).

To disable cursor/keyboard rotation, use the CursorKeyboardRotationOptions.disabled constructor.

Implementation

final CursorKeyboardRotationOptions cursorKeyboardRotationOptions;