Hello<br><br>Following your instructions, I got what I wanted. The title "OpenLayers.Layer.WMS" was identical to the "MAPFILE NAME". The ambiguity was there.<br><br>Thank you for your help<br><br>Richard Lehaut<br>
<br><div class="gmail_quote">2010/6/11 Pierre Giraud <span dir="ltr"><<a href="mailto:pierre.giraud@camptocamp.com">pierre.giraud@camptocamp.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The LegendPanel (actually the LayerLegend) doesn't read data from WMS itself.<br>
The title is read from the LayerRecord, respectively from its "title"<br>
or "name" or "<a href="http://layer.name" target="_blank">layer.name</a>" value.<br>
<br>
How did you configure your layers ?<br>
<br>
Pierre<br>
<div><div></div><div class="h5"><br>
On Fri, Jun 11, 2010 at 9:13 AM, Richard LEHAUT<br>
<<a href="mailto:richard.lehaut@gmail.com">richard.lehaut@gmail.com</a>> wrote:<br>
> Hello<br>
> I think the pluging LEGENPANEL uses the NAME field of the configuration of<br>
> the layer of the mapfile. This field is not necessarily appropriate.<br>
> How used, for example, to configure the METADATA WMS_TILE title of legend?<br>
> How would you do?<br>
><br>
> Thanks<br>
><br>
> Richard LEHAUT<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<div class="im">> <a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
<br>
<br>
<br>
</div>--<br>
Pierre GIRAUD<br>
Géomaticien, Analyste<br>
<div class="im"><br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex<br>
<br>
</div>Tel : 00 33 4 79 44 44 93<br>
Mail : <a href="mailto:pierre.giraud@camptocamp.com">pierre.giraud@camptocamp.com</a><br>
<div class="im"><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br>
_______________________________________________<br>
Users mailing list<br>
</div><a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<div><div></div><div class="h5"><a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>