<div>Thank you Tamas....</div>
<div>But, I´ve already read that discussion before and unfortunately&nbsp;I don´t known how It&nbsp;can help-me to make proces<font size="2">sLegendTemplate function&nbsp;works...</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">If anyone have a sample using it, I will be very happy !&nbsp; I´m stuck in that about 2 days ....</font></div>
<div><font size="2">I think my template html is fine... The only problem I think is that function that always return a empty string :( ...</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">Ty very much again!</font></div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/23/07, <b class="gmail_sendername">Tamas Szekeres</b> &lt;<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Paul,<br><br>I recall I had a discussion about an issue like this a few months ago<br>in this list which can be found here:
<br><a href="http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg11539.html">http://www.mail-archive.com/mapserver-users@lists.umn.edu/msg11539.html</a><br><br>I&#39;m not totally sure whether the statements out there apply to this
<br>version exactly but this feature have been working that time pretty<br>well.<br><br><br>Best regards,<br><br>Tamas<br><br><br>2007/8/23, Paul james &lt;<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>&gt;:<br>
&gt; I created a template.html like that :<br>&gt;<br>&gt; [leg_class_html opt_flag=15]<br>&gt;<br>&gt;<br>&gt; &lt;img src=[leg_icon]&gt; [leg_class_name] &lt;br&gt;<br>&gt;<br>&gt; [/leg_class_html]<br>&gt;<br>&gt; And in my mapfile:
<br>&gt;<br>&gt;<br>&gt; LEGEND<br>&gt;<br>&gt; STATUS ON<br>&gt;<br>&gt; KEYSIZE 18 12<br>&gt;<br>&gt; # LABEL object<br>&gt;<br>&gt; LABEL<br>&gt;<br>&gt; TYPE BITMAP<br>&gt;<br>&gt; SIZE MEDIUM<br>&gt;<br>&gt; COLOR 0 0 89
<br>&gt;<br>&gt; END<br>&gt;<br>&gt; TEMPLATE &quot;template.html&quot;<br>&gt;<br>&gt; END<br>&gt;<br>&gt; Now, In code(c#) I´m trying to use processLegendTemplate function without<br>&gt; sucess ... The function always return empty string ...
<br>&gt; I think I´m not using it correctly :<br>&gt;<br>&gt;<br>&gt;<br>&gt; string[] _x = new string[1];<br>&gt; string [] _y = new string[1];<br>&gt; string&nbsp;&nbsp;_html = mapaObj.processLegendTemplate(_x, _y, 1);<br>&gt;<br>
&gt; obs.: _html always return empty...<br>&gt;<br>&gt;<br>&gt;<br>&gt; Any ideas? I´m using Mapserver 5.0 beta 3 !<br>&gt;<br>&gt; []´s<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 8/23/07, Paul james &lt;<a href="mailto:pauljame@gmail.com">
pauljame@gmail.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Hello guys !<br>&gt; &gt; I need change my legend system (mapaObj.Legend()) drawwith HTML legend ...<br>&gt;<br>&gt; &gt; I´d like to known if someone could help me with that... Any samples using
<br>&gt; mapscript?<br>&gt; &gt; I´m completely&nbsp;&nbsp;lost on this task!<br>&gt; &gt;<br>&gt; &gt; Any help ?<br>&gt; &gt;<br>&gt; &gt; Thx<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br></blockquote></div><br>