OpenLayers.Control.KeyboardDefaults - OpenLayers

# OpenLayers. Control. KeyboardDefaults

#### Inherits from

- OpenLayers.Control

Summary

OpenLayers. Control. KeyboardDefaults |
Properties |
slideFactor | Pixels to slide by.
Constructor |
OpenLayers. Control. KeyboardDefaults |
Functions |
destroy |
draw | Create handler.
defaultKeyPress | When handling the key event, we only use evt.keyCode.

### Properties

### slideFactor

Pixels to slide by.

### Constructor

### OpenLayers. Control. KeyboardDefaults

### Functions

### destroy

> destroy: function()

### draw

> draw: function()

Create handler.

### defaultKeyPress

> defaultKeyPress: function ( | evt | )

When handling the key event, we only use evt.keyCode. This holds some drawbacks, though we get around them below. When interpretting the keycodes below (including the comments associated with them), consult the URL below. For instance, the Safari browser returns “IE keycodes”, and so is supported by any keycode labeled “IE”.

#### Very informative URL

http://unixpapa.com/js/key.html

#### Parameters

code | {Integer}

> destroy: function()

> draw: function()

Create handler.

> defaultKeyPress: function ( | evt | )

When handling the key event, we only use evt.keyCode.
Controls affect the display or behavior of the map.
Close