From 408a7aee84e71479065d4bc32b66380e27eefbc7 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 3 Oct 2007 20:11:50 +0000 Subject: [PATCH] Disable dragging on the Yahoo API, since we implement it ourselves. Recent API changes have made working with the Yahoo! API more painful (more errors) but have also made available a function to change that, which we now use. (Pullup #1052) git-svn-id: http://svn.openlayers.org/trunk/openlayers@4793 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 fd68a7192e..edf0397494 100644 --- a/lib/OpenLayers/Layer/Yahoo.js +++ b/lib/OpenLayers/Layer/Yahoo.js @@ -91,6 +91,7 @@ OpenLayers.Layer.Yahoo = OpenLayers.Class( var size = this.getMapObjectSizeFromOLSize(this.map.getSize()); this.mapObject = new YMap(this.div, this.type, size); this.mapObject.disableKeyControls(); + this.mapObject.disableDragMap(); } catch(e) {} },