Module: ol/interaction/KeyboardPan

ol/interaction/KeyboardPan


Classes

KeyboardPan

Type Definitions

Options{Object}

属性:
Name Type Description
condition Condition | undefined

接受 MapBrowserEvent 并返回布尔值以指示是否应处理该事件的函数。默认为 noModifierKeystargetNotEditable

duration number
(defaults to 100)

动画持续时间,以毫秒为单位。

pixelDelta number
(defaults to 128)

每次按键平移的像素量。