check for transparency was not correct
git-svn-id: http://svn.openlayers.org/trunk/openlayers@932 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -107,8 +107,6 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
||||
*/
|
||||
moveTo:function(bounds, zoomChanged, minor) {
|
||||
|
||||
|
||||
|
||||
if (!minor) {
|
||||
|
||||
if (bounds == null) {
|
||||
@@ -132,7 +130,7 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
||||
|
||||
// update div
|
||||
var img = this.imgDiv;
|
||||
if (this.transparent) {
|
||||
if (this.params.TRANSPARENT == 'true') {
|
||||
OpenLayers.Util.modifyAlphaImageDiv(this.imgDiv,
|
||||
null,
|
||||
pos,
|
||||
@@ -206,7 +204,7 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
||||
var pos = this.map.getLayerPxFromViewPortPx(tl);
|
||||
|
||||
//create div
|
||||
if (this.transparent) {
|
||||
if (this.params.TRANSPARENT == 'true') {
|
||||
this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null,
|
||||
pos,
|
||||
size,
|
||||
|
||||
Reference in New Issue
Block a user