[OpenLayers-Commits] r4793 - trunk/openlayers/lib/OpenLayers/Layer
commits at openlayers.org
commits at openlayers.org
Wed Oct 3 16:11:51 EDT 2007
Author: crschmidt
Date: 2007-10-03 16:11:50 -0400 (Wed, 03 Oct 2007)
New Revision: 4793
Modified:
trunk/openlayers/lib/OpenLayers/Layer/Yahoo.js
Log:
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)
Modified: trunk/openlayers/lib/OpenLayers/Layer/Yahoo.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/Yahoo.js 2007-10-03 19:21:05 UTC (rev 4792)
+++ trunk/openlayers/lib/OpenLayers/Layer/Yahoo.js 2007-10-03 20:11:50 UTC (rev 4793)
@@ -91,6 +91,7 @@
var size = this.getMapObjectSizeFromOLSize(this.map.getSize());
this.mapObject = new YMap(this.div, this.type, size);
this.mapObject.disableKeyControls();
+ this.mapObject.disableDragMap();
} catch(e) {}
},
More information about the Commits
mailing list