Enable/Disable Keyboard and Mouse
- Enable keyboard input
map.Ui.Keyboard.enable(true);
Example - Enable map to slide a little after move map by keyboard
map.Ui.Keyboard.enableInertia(true);
Example - Enable all mouse events
map.Ui.Mouse.enable(true);
Example - Enable mouse click
map.Ui.Mouse.enableClick(true);
Example - Enable dragging
map.Ui.Mouse.enableDrag(true);
Example - Enable wheel scrolling
map.Ui.Mouse.enableWheel(true);
Example - Enable map to slide a little after dragging (mouse)
map.Ui.Mouse.enableInertia(true);
Example