Add a smooth transition for singleTile layer panning only. r=tschaub (closes #2593)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10675 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -183,7 +183,8 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, {
|
||||
}
|
||||
var drawTile = OpenLayers.Tile.prototype.draw.apply(this, arguments);
|
||||
|
||||
if (OpenLayers.Util.indexOf(this.layer.SUPPORTED_TRANSITIONS, this.layer.transitionEffect) != -1) {
|
||||
if ((OpenLayers.Util.indexOf(this.layer.SUPPORTED_TRANSITIONS, this.layer.transitionEffect) != -1) ||
|
||||
this.layer.singleTile) {
|
||||
if (drawTile) {
|
||||
//we use a clone of this tile to create a double buffer for visual
|
||||
//continuity. The backBufferTile is used to create transition
|
||||
|
||||
Reference in New Issue
Block a user