Changeset 681
- Timestamp:
- 06/22/06 15:02:33 (3 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer/Grid.js (modified) (1 diff)
- trunk/openlayers/lib/OpenLayers/Tile/Image.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer/Grid.js
r669 r681 147 147 tileoffsety - parseInt(this.map.layerContainerDiv.style.top)) 148 148 ); 149 tile.draw( );149 tile.draw((this.params.TRANSPARENT == true)); 150 150 row.append(tile); 151 151 trunk/openlayers/lib/OpenLayers/Tile/Image.js
r657 r681 36 36 /** 37 37 */ 38 draw:function() { 39 this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null, 40 this.position, 41 this.size, 42 this.url, 43 "absolute"); 38 draw:function(transparent) { 39 if (transparent) { 40 this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null, 41 this.position, 42 this.size, 43 this.url, 44 "absolute"); 45 } else { 46 this.imgDiv = OpenLayers.Util.createImage(null, 47 this.position, 48 this.size, 49 this.url, 50 "absolute"); 51 } 44 52 this.layer.div.appendChild(this.imgDiv); 45 53 },
