diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index be35eb26fe..7709510d31 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -658,10 +658,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { */ calculateGridLayout: function(bounds, origin, resolution) { bounds = bounds.clone(); - var map = this.map; - if (map.wrapDateLine) { - bounds = bounds.wrapDateLine(map.getMaxExtent()); - } var tilelon = resolution * this.tileSize.w; var tilelat = resolution * this.tileSize.h;