OpenLayers. Control. KeyboardDefaults

The KeyboardDefaults control adds panning and zooming functions, controlled with the keyboard.  By default arrow keys pan, +/- keys zoom & Page Up/Page Down/Home/End scroll by three quarters of a page.

This control has no visible appearance.

Inherits from

Summary
OpenLayers. Control. KeyboardDefaultsThe KeyboardDefaults control adds panning and zooming functions, controlled with the keyboard.
Properties
autoActivate{Boolean} Activate the control when it is added to a map.
slideFactorPixels to slide by.
Constructor
OpenLayers. Control. KeyboardDefaults
Functions
destroy

Properties

autoActivate

{Boolean} Activate the control when it is added to a map.  Default is true.

slideFactor

Pixels to slide by.

Constructor

OpenLayers. Control. KeyboardDefaults

Functions

destroy

destroy: function()
destroy: function()
Controls affect the display or behavior of the map.
Close