Pulled up r679:r684 from trunk for the IE performance and bug fixes.

git-svn-id: http://svn.openlayers.org/branches/openlayers/1.0@685 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-06-22 19:28:31 +00:00
parent 83197dc4f2
commit 24b58b5e0b
6 changed files with 24 additions and 12 deletions

View File

@@ -35,12 +35,20 @@ OpenLayers.Tile.Image.prototype =
/**
*/
draw:function() {
this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null,
this.position,
this.size,
this.url,
"absolute");
draw:function(transparent) {
if (transparent) {
this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null,
this.position,
this.size,
this.url,
"absolute");
} else {
this.imgDiv = OpenLayers.Util.createImage(null,
this.position,
this.size,
this.url,
"absolute");
}
this.layer.div.appendChild(this.imgDiv);
},