From d4fb441da82761ec00a1ae5aaf09c0c5ac248353 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Fri, 30 Sep 2011 14:57:46 -0600 Subject: [PATCH] removing unneeded code --- lib/OpenLayers/Map.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index cad15bf620..1865557dc3 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -1695,14 +1695,6 @@ OpenLayers.Map = OpenLayers.Class({ parseInt(this.layerContainerDiv.style.left) - dx + "px"; this.minPx.x -= dx; this.maxPx.x -= dx; - if (wrapDateLine) { - if (this.maxPx.x > maxX) { - this.maxPx.x -= (maxX - minX); - } - if (this.minPx.x < minX) { - this.minPx.x += (maxX - minX); - } - } } if (dy) { this.layerContainerDiv.style.top =