Merge pull request #874 from ahocevar/tilemanager-backbuffer-id
Tile images should not have an id. r=@bartvde
This commit is contained in:
@@ -363,6 +363,8 @@ OpenLayers.TileManager = OpenLayers.Class({
|
|||||||
img.style.opacity = 0;
|
img.style.opacity = 0;
|
||||||
img.style.visibility = 'hidden';
|
img.style.visibility = 'hidden';
|
||||||
}
|
}
|
||||||
|
// Only backbuffer tiles have an id, so we don't want one here
|
||||||
|
img.id = null;
|
||||||
tile.setImage(img);
|
tile.setImage(img);
|
||||||
// LRU - move tile to the end of the array to mark it as the most
|
// LRU - move tile to the end of the array to mark it as the most
|
||||||
// recently used
|
// recently used
|
||||||
|
|||||||
Reference in New Issue
Block a user