[OpenLayers-Dev] layer opacity

Sébastien Roch roch.sebastien at gmail.com
Thu Nov 15 06:46:58 EST 2007


Hello,
I've been playing with layer opacity, and noticed something wrong if I
try to set opacity to 0 : doesn't work...
After a quick look in the code, it's simply this line in function
modifyDOMElement (Utils.js) where the issue is :
if (opacity){
....
}
0 gives "false" in a boolean context.

Sebastien



More information about the Dev mailing list