Skip to content

ZoomOut by Meta key should be disabled. #869

@jekhor

Description

@jekhor

Pressing Meta (Win) key in Firefox 12/Debian Linux unstable makes the map zoomed out. This behaviour should be disabled, because the Meta key can be used for global keyboard shortcuts.

Code:

src/map/handler/Map.Keyboard.js

// list of e.keyCode values for particular actions
keyCodes: {
left: [37],
right: [39],
down: [40],
up: [38],
zoomIn: [187, 61, 107],
zoomOut: [189, 109, 0]
},

The Meta key has keycode 0 in FF/Linux.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions