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) {
|
moveTo:function(bounds, zoomChanged, minor) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!minor) {
|
if (!minor) {
|
||||||
|
|
||||||
if (bounds == null) {
|
if (bounds == null) {
|
||||||
@@ -132,7 +130,7 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
|||||||
|
|
||||||
// update div
|
// update div
|
||||||
var img = this.imgDiv;
|
var img = this.imgDiv;
|
||||||
if (this.transparent) {
|
if (this.params.TRANSPARENT == 'true') {
|
||||||
OpenLayers.Util.modifyAlphaImageDiv(this.imgDiv,
|
OpenLayers.Util.modifyAlphaImageDiv(this.imgDiv,
|
||||||
null,
|
null,
|
||||||
pos,
|
pos,
|
||||||
@@ -206,7 +204,7 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
|||||||
var pos = this.map.getLayerPxFromViewPortPx(tl);
|
var pos = this.map.getLayerPxFromViewPortPx(tl);
|
||||||
|
|
||||||
//create div
|
//create div
|
||||||
if (this.transparent) {
|
if (this.params.TRANSPARENT == 'true') {
|
||||||
this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null,
|
this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null,
|
||||||
pos,
|
pos,
|
||||||
size,
|
size,
|
||||||
|
|||||||
Reference in New Issue
Block a user