[OpenLayers-Dev] layer opacity

Christopher Schmidt crschmidt at metacarta.com
Thu Nov 15 06:49:14 EST 2007


On Thu, Nov 15, 2007 at 12:46:58PM +0100, S?bastien Roch wrote:
> 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.

Cool. Make a ticket? With a patch, if you can; with a patch and tests if
your'e feeling extra brave :)

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list