Class KeyEvents

Source
Expand description

KeyEvents class handles keyboard interactions with the map. It allows toggling layer properties and changing map styles using keyboard shortcuts.

Constructors§

Source§

new KeyEvents(map: AutkMap): KeyEvents

Constructor for KeyEvents

Methods§

Source§

bindEvents(): void

Key events binding function

Source§

keyUp(event: KeyboardEvent): Promise<void>

Handles key up event