From e420ec851ca05c3056489ebc1082f3056d0ed006 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 13 Jul 2007 13:36:16 +0000 Subject: [PATCH] Turn off the Yahoo Keyboard handlers, since their use results in the map moving without OpenLayers knowing about it when they are on. git-svn-id: http://svn.openlayers.org/trunk/openlayers@3730 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Yahoo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/OpenLayers/Layer/Yahoo.js b/lib/OpenLayers/Layer/Yahoo.js index 2ad3e591a3..f42ce53363 100644 --- a/lib/OpenLayers/Layer/Yahoo.js +++ b/lib/OpenLayers/Layer/Yahoo.js @@ -62,6 +62,7 @@ OpenLayers.Layer.Yahoo.prototype = loadMapObject:function() { try { //do not crash! this.mapObject = new YMap(this.div, this.type); + this.mapObject.disableKeyControls(); } catch(e) {} },