<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
When making patch for this, please don't forget checking if opacity is
not set to 100 - it causes needless performance decrease (especially
when paning layers with such opacity).<br>
<br>
Tomas Novotny<br>
<br>
<br>
<blockquote cite="mid:mailman.1.1195146002.15351.dev@openlayers.org"
type="cite">
<pre wrap="">
Date: Thu, 15 Nov 2007 14:47:07 +0100
From: " S?bastien Roch " <a class="moz-txt-link-rfc2396E" href="mailto:roch.sebastien@gmail.com"><roch.sebastien@gmail.com></a>
Subject: Re: [OpenLayers-Dev] layer opacity
To: <a class="moz-txt-link-abbreviated" href="mailto:dev@openlayers.org">dev@openlayers.org</a>, "Christopher Schmidt"
        <a class="moz-txt-link-rfc2396E" href="mailto:crschmidt@metacarta.com"><crschmidt@metacarta.com></a>
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:b7e62ac50711150547x6a01f926t1dc503fa3474e5f@mail.gmail.com"><b7e62ac50711150547x6a01f926t1dc503fa3474e5f@mail.gmail.com></a>
Content-Type: text/plain; charset=ISO-8859-1
Yep I'll do this (ticket + maybe patch)
On Nov 15, 2007 12:49 PM, Christopher Schmidt <a class="moz-txt-link-rfc2396E" href="mailto:crschmidt@metacarta.com"><crschmidt@metacarta.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Thu, Nov 15, 2007 at 12:46:58PM +0100, S?bastien Roch wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">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
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<br>
</blockquote>
</body>
</html>