<!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">
Hi,<br>
<br>
Please, reply to the list. Also, this thread is more suitable to
the "user" mailing list<br>
<br>
About the extra info in the legend image, that's controlled by the
WMS service.<br>
<br>
About the transparency : I proposed an alternate solution to your
issue. Other than that, I don't really know how you could solve
your problem.<br>
<br>
Regards,<br>
<br>
Alexandre<br>
<br>
<br>
On 11-01-31 09:41 AM, Morper-Busch, Lucia wrote:
<blockquote
cite="mid:7506863B0141334AA8B9FAAAC6D703B001C0DC79@MAIL2.plus.sbg.ac.at"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">I attached a
screenshot of the legend. It has nothing to do with opacity.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
layers.push(new OpenLayers.Layer.WMS("Elevation",
geoserverURL, {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
layers: partnerServer + ":dem_wgs_84",<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
<b>transparent: true, //when false, no other layer is
visible<o:p></o:p></b></span></p>
<p class="MsoPlainText"><span lang="EN-US">
format: 'image/png'<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
}, {<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
group: "DEM",<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
isBaseLayer: false,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
visibility: true<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
}<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">
)); <o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Thank you<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">Lucia<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="" lang="EN-US">Dipl.-Geogr.
Lucia Morper-Busch | Researcher<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="" lang="EN-US">University
of Salzburg | Centre for Geoinformatics - Z_GIS<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="" lang="EN-US">Schillerstr.30
| Techno-Z, Block 15, 3rd floor | 5020 Salzburg, Austria<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="" lang="EN-US">Phone +43
(0)662 8044 5298 | Fax +43 (0)662 8044 5260<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="" lang="EN-US">>
Z_GIS…experts for the spatial view<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="" lang="DE">-----Ursprüngliche
Nachricht-----<br>
Von: Alexandre Dube [<a class="moz-txt-link-freetext" href="mailto:adube@mapgears.com">mailto:adube@mapgears.com</a>] <br>
Gesendet: Montag, 31. Jänner 2011 15:35<br>
An: Morper-Busch, Lucia<br>
Betreff: Re: [Dev] Legend text of WMSLegend for Raster layer</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Could you please provide a small live
demo ?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Also, perhaps the use of some kind of
layer opacity slider could be also <o:p></o:p></p>
<p class="MsoPlainText">a good workaround [1].<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Cheers,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Alexandre<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">[1] <a moz-do-not-send="true"
href="http://api.geoext.org/1.0/examples/layeropacityslider.html"><span
style="color: windowtext; text-decoration: none;">http://api.geoext.org/1.0/examples/layeropacityslider.html</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On 11-01-31 09:24 AM, Morper-Busch,
Lucia wrote:<o:p></o:p></p>
<p class="MsoPlainText">> Hello GeoExt Developers,<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> I have problems with the text of a
raster legend. I'm using the<o:p></o:p></p>
<p class="MsoPlainText">> LayerTreeBuilder.<o:p></o:p></p>
<p class="MsoPlainText">> I found this explanation: For
raster legends created with the<o:p></o:p></p>
<p class="MsoPlainText">> GetLegendGraphic request, if
Transparent=true is specified in the<o:p></o:p></p>
<p class="MsoPlainText">> request string the resulting legend
has text that is hard to read and<o:p></o:p></p>
<p class="MsoPlainText">> appears bold. This is not the case
for feature layer legends.<o:p></o:p></p>
<p class="MsoPlainText">> That's right: With
Transparent=false the legend text appears fine<o:p></o:p></p>
<p class="MsoPlainText">> indeed, but now the Raster layer
covers all other layers and base<o:p></o:p></p>
<p class="MsoPlainText">> layers. It's no solution.<o:p></o:p></p>
<p class="MsoPlainText">> It would also be good to remove the
debug information at the bottom of<o:p></o:p></p>
<p class="MsoPlainText">> the legend (band selection,
colormap type, colormap is extended)<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Thank you for help<o:p></o:p></p>
<p class="MsoPlainText">> Lucia<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">> Dipl.-Geogr. Lucia Morper-Busch |
Researcher<o:p></o:p></p>
<p class="MsoPlainText">> University of Salzburg | Centre for
Geoinformatics - Z_GIS<o:p></o:p></p>
<p class="MsoPlainText">> Schillerstr.30 | Techno-Z, Block
15, 3rd floor | 5020 Salzburg, Austria<o:p></o:p></p>
<p class="MsoPlainText">> Phone +43 (0)662 8044 5298 | Fax
+43 (0)662 8044 5260<o:p></o:p></p>
<p class="MsoPlainText">>> Z_GIS...experts for the spatial
view<o:p></o:p></p>
<p class="MsoPlainText">>
_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">> Dev mailing list<o:p></o:p></p>
<p class="MsoPlainText">> <a moz-do-not-send="true"
href="mailto:Dev@geoext.org"><span style="color: windowtext;
text-decoration: none;">Dev@geoext.org</span></a><o:p></o:p></p>
<p class="MsoPlainText">> <a moz-do-not-send="true"
href="http://www.geoext.org/cgi-bin/mailman/listinfo/dev"><span
style="color: windowtext; text-decoration: none;">http://www.geoext.org/cgi-bin/mailman/listinfo/dev</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText">Alexandre Dubé<o:p></o:p></p>
<p class="MsoPlainText">Mapgears<o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="http://www.mapgears.com"><span style="color:
windowtext; text-decoration: none;">www.mapgears.com</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alexandre Dubé
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
</body>
</html>