Class Index | File Index

Classes


Class khtml.maplib.ui.KeyBoard


Defined in: Keyboard.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Keyboard Handling Usage: var keyboardHandler=new khtml.maplib.ui.KeyBoard(); map.addOverlay(keyboardHandler); Cursur Keys for move the map Page Up, Page Down, Pos1, End for fast moveing the map "+" zoom in "-" zoom out For Firefox don't forget to set "tabIndex" (html);
Method Summary
Method Attributes Method Name and Description
 
init(map)
 
keydown(evt)
 
keyup(evt)
Does nothing
 
moveit(x, y)
Call moveitexec 20 times to prepare the timeout's.
 
moveitexec(dx, dy, i)
Execute "moveXY" delayed by a timeout.
 
 
 
Class Detail
khtml.maplib.ui.KeyBoard()
Keyboard Handling Usage: var keyboardHandler=new khtml.maplib.ui.KeyBoard(); map.addOverlay(keyboardHandler); Cursur Keys for move the map Page Up, Page Down, Pos1, End for fast moveing the map "+" zoom in "-" zoom out For Firefox don't forget to set "tabIndex" (html);
See:
Example: keyboard in action
Method Detail
init(map)
Parameters:
map

keydown(evt)
Parameters:
evt

keyup(evt)
Does nothing
Parameters:
evt

moveit(x, y)
Call moveitexec 20 times to prepare the timeout's.
Parameters:
x
y

moveitexec(dx, dy, i)
Execute "moveXY" delayed by a timeout.
Parameters:
dx
dy
i

render()

zoomin()

zoomout()

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Oct 09 2011 20:46:57 GMT+0200 (MESZ)