the map isn't correctly positioned when dragging with singleTile true, r=bartvde,ahocevar (references #3361)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12151 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-07-04 20:34:47 +00:00
parent 440628e58d
commit 89957b8399

View File

@@ -266,7 +266,9 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
* dy - {Number}
*/
moveByPx: function(dx, dy) {
this.scheduleMoveGriddedTiles();
if (!this.singleTile) {
this.scheduleMoveGriddedTiles();
}
},
/**