<!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">
Hello list,<br>
<br>
First of all Jacolin, thanks for the response.<br>
<br>
I managed to "fake" a legend title by adding an empty class item as the
topmost class for the layer I create the thematic legend for. This
class item has no properties other then a name containing the text: "--
This is my legend --"<br>
<br>
Works good enough for me!<br>
<br>
Jacolin Yves schreef:
<blockquote cite="mid:200711061350.29887.yjacolin@free.fr" type="cite">
  <pre wrap="">Le Tuesday 06 November 2007 13:28:55 Milo van der Linden, vous avez &eacute;crit&nbsp;:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello list!

I am currently using a GetLegendGraphic request to mapserver to return a
legend that is presented in Google Earth in combination with a WMS
layer, all to great satisfaction of the customer, what a power this WMS
server capability has!

The legend only contains the thematic symbols for my layer, but I would
like to add a header to differentiate it in my Google Earth window. Is
it possible to add static text and maybe draw a line in a legend? Does
anyone has some sample mapfile snippet showing how to do this?

Kind regards,

Milo van der Linden
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Hi Milo,

I don't think it is possible to add an header to the GetLegendGraphic request. 
You can watch the documentation for the LEGEND object mapfile but I don't 
think that the header will run for the WMS service.

Note that I had the same problem about using this for my application. I 
choosed to use mapserv in CGI mode to get my legend, but this is not OGC 
compliant ;) The other way is to use a GetSTyles request, but you have to 
build the legend icon by yourself, not so difficult for plain polygon icone, 
more difficult if you use hached icons. But by this way you could manage the 
layout exactly as you want :)

If you develop something to create icon from an SLD XML data, I will be really 
interesting for :)

Anyway, if some developpers implyed in OGC standards could give their opinion 
about this "issue" :) My opinion is that all pictures have to be processed in 
the server side and the client side will just create the layout. That's imply 
that GetLegendGraphic "is not good" because it creates layout in the server 
side and GetStyles "is not good" because the icons have to be create on the 
client side.

However, I develop my application using OGC standard and Mapserver and I am 
really happy of this two technologies.

Best regards,

Y.
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>3DSite</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
body {
        background-color: #FFFFFF;
        margin-left: 5px;
        margin-top: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
}
body,td,th {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</style>
<meta content="MSHTML 6.00.2900.2912" name="GENERATOR">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
  <tbody>
    <tr>
      <td rowspan="3" align="left" height="0" valign="bottom" width="15"><br>
      </td>
      <td colspan="2" align="left" height="78" valign="top" width="0">
      <p class="style4">Milo van der Linden
      <br>
      <a href="skype:milovanderlinden?add">skype: milovanderlinden</a><br>
      <a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a><br>
      <a href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</a><br>
      <a href="mailto:milo@3dsite.nl">milo@3dsite.nl</a><br>
      <a href="http://www.3dsite.nl">http://www.3dsite.nl</a><br>
      </p>
      </td>
      <td rowspan="3" align="left" height="0" valign="top" width="15">&nbsp;</td>
      <td valign="top" width="300">
      <p class="style5"><span lang="NL">De informatie in dit bericht
reflecteert mijn persoonlijke mening en niet die van een bedrijf of
instantie. Aan de informatie kunnen geen rechten worden ontleend.
Indien dit bericht onderdeel is van een forum, mailing-list of
community dan gelden automatisch de bij het betreffende medium
behorende voorwaarden.</span>
      <span lang="EN">The information in this message reflects my
personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.</span></p>
      </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>