[OpenLayers-Commits] r2127 - sandbox/vector/lib/OpenLayers
commits at openlayers.org
commits at openlayers.org
Mon Jan 8 05:30:46 EST 2007
Author: pgiraud
Date: 2007-01-08 05:30:43 -0500 (Mon, 08 Jan 2007)
New Revision: 2127
Modified:
sandbox/vector/lib/OpenLayers/Map.js
Log:
uncommented line in getLonLatFromLayerPx() method
fixed a pan problem on untiled WMS layer
Modified: sandbox/vector/lib/OpenLayers/Map.js
===================================================================
--- sandbox/vector/lib/OpenLayers/Map.js 2007-01-04 21:28:27 UTC (rev 2126)
+++ sandbox/vector/lib/OpenLayers/Map.js 2007-01-08 10:30:43 UTC (rev 2127)
@@ -1204,7 +1204,7 @@
*/
getLonLatFromLayerPx: function (px) {
//adjust for displacement of layerContainerDiv
- //px = this.getViewPortPxFromLayerPx(px);
+ px = this.getViewPortPxFromLayerPx(px);
return this.getLonLatFromViewPortPx(px);
},
More information about the Commits
mailing list