Disable keyboard control of the map as it causes problems by catching
keypresses in other parts of the page. Closes #659.
This commit is contained in:
parent
a35aeec56b
commit
fae8295ec2
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ function createMap(divName) {
|
|||
map.addLayer(markers);
|
||||
|
||||
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||
map.addControl(new OpenLayers.Control.KeyboardDefaults());
|
||||
// map.addControl(new OpenLayers.Control.KeyboardDefaults());
|
||||
|
||||
return map;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue