Class name on archetype image.

This commit is contained in:
Tim Schaub
2012-06-21 00:33:31 +02:00
parent 57764813e3
commit d8b31ab1ff

View File

@@ -67,6 +67,7 @@ ol.Tile.prototype.getImg = function() {
*/
ol.Tile.createImage = (function() {
var img = document.createElement("img");
img.className = "olTile";
return function() {
return img.cloneNode(false);
};