Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Add keyboard controls to the slippy map. #1132

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Add keyboard controls to the slippy map. #1132

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: pietervp[at]gmail.com
[Submitted to the original trac issue database at 6.51pm, Wednesday, 27th August 2008]

What about navigating the main slippy map with the keyboard arrow keys, just like Yahoo and Google maps? Using + and - keys to zoom would be great too!

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 10.05am, Thursday, 28th August 2008]

Keyboard controls were (briefly) turned on but it turned out (see case #659) that the OpenLayers keyboard controls are not usable as they act on all keypresses, not just those over the map, so typing in the search box would produce random changes in the map.

So if you want the keyboard controls you need to get the OpenLayers guys to enhance the keyboard controls in OpenLayers.

@openstreetmap-trac
Copy link
Author

Author: crschmidt
[Added to the original trac issue at 1.38pm, Thursday, 28th August 2008]

If someone wants to enhance the OpenLayers Keyboard controls, then they'll need to offer a patch. It's perfectly possible to use the OpenLayers API to turn the keyboard controls on/off at the application level, and at this point, we have no one investigating integrating such support into the library (because it doesn't belong there).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant