Changeset 840
- Timestamp:
- 06/30/06 11:41:40 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer/Grid.js (modified) (2 diffs)
- trunk/openlayers/lib/OpenLayers/Layer/WMS.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
r820 r840 19 19 // this is an array of rows, each row is an array of tiles 20 20 grid: null, 21 22 // alpha: boolean 23 // asserts whether or not the layer's images have an alpha channel 24 alpha: false, 21 25 22 26 /** … … 162 166 tileoffsety - parseInt(this.map.layerContainerDiv.style.top)) 163 167 ); 164 tile.draw( (this.params.TRANSPARENT == 'true'));168 tile.draw(this.alpha); 165 169 row.append(tile); 166 170 trunk/openlayers/lib/OpenLayers/Layer/WMS.js
r820 r840 72 72 73 73 /** 74 * addTile creates a tile, initializes it (via 'draw' in this case), and74 * addTile creates a tile, initializes it, and 75 75 * adds it to the layer div. 76 76 * trunk/openlayers/lib/OpenLayers/Tile/Image.js
r788 r840 37 37 */ 38 38 draw:function(transparent) { 39 if (false) { // don't actually use the alpha PNG hack right now 40 // it has a fiercely bad effect on IE6's performance 41 // if (transparent) { 39 if (transparent) { 42 40 this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null, 43 41 this.position,
