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:
@@ -266,7 +266,9 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
|||||||
* dy - {Number}
|
* dy - {Number}
|
||||||
*/
|
*/
|
||||||
moveByPx: function(dx, dy) {
|
moveByPx: function(dx, dy) {
|
||||||
this.scheduleMoveGriddedTiles();
|
if (!this.singleTile) {
|
||||||
|
this.scheduleMoveGriddedTiles();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user