<div>I created a template.html like that : </div>
<div><font size="2"><br>[leg_class_html opt_flag=15]</font></div>
<div>
<p><font color="#0000ff" size="2">&lt;</font><font color="#a31515" size="2">img</font><font size="2"> </font><font color="#ff0000" size="2">src</font><font color="#0000ff" size="2">=[leg_icon]&gt;</font><font size="2"> [leg_class_name]
</font><font color="#0000ff" size="2">&lt;</font><font color="#a31515" size="2">br</font><font color="#0000ff" size="2">&gt;</font></p><font size="2">
<p>[/leg_class_html]</p></font></div>
<div>&nbsp;</div>
<div>And in my mapfile:</div>
<div><font size="2">
<p>LEGEND</p>
<p>STATUS ON</p>
<p>KEYSIZE 18 12</p>
<p># LABEL object</p>
<p>LABEL</p>
<p>TYPE BITMAP</p>
<p>SIZE MEDIUM</p>
<p>COLOR 0 0 89</p>
<p>END</p>
<p>TEMPLATE &quot;template.html&quot; </p>
<p>END</p></font></div>
<div>&nbsp;</div>
<div>Now, In code(c#) I´m trying to use <font size="2">processLegendTemplate function without sucess ... The function always return empty string ...</font></div>
<div><font size="2">I think&nbsp;I´m not using&nbsp;it correctly&nbsp;:</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font color="#0000ff" size="2">
<p>string</p></font><font size="2">[] _x = </font><font color="#0000ff" size="2">new</font><font size="2"> </font><font color="#0000ff" size="2">string</font><font size="2">[1];<br></font><font color="#0000ff" size="2">string
</font><font size="2">[] _y = </font><font color="#0000ff" size="2">new</font><font size="2"> </font><font color="#0000ff" size="2">string</font><font size="2">[1];<br><font color="#0000ff" size="2">string</font><font size="2">
&nbsp;_html = mapaObj.processLegendTemplate(_x, _y, 1);</font></font>
<p><font size="2"><font size="2">obs.: _html always return empty... </font></font></p>
<p><font size="2"><font size="2"></font></font>&nbsp;</p>
<p><font size="2"><font size="2">Any ideas? I´m using Mapserver 5.0 beta&nbsp;3 !</font></font></p>
<p><font size="2"><font size="2">[]´s</font></font></p></div>
<div><font size="2"></font>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/23/07, <b class="gmail_sendername">Paul james</b> &lt;<a href="mailto:pauljame@gmail.com">pauljame@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">
<div>Hello guys ! </div>
<div>I need change my legend system (<font size="2">mapaObj.Legend()</font>)&nbsp;<font size="2">draw</font>with HTML legend ...&nbsp;</div>
<div>I´d like to known if someone could help me with that... Any samples using mapscript?&nbsp;&nbsp;</div>
<div>I´m completely &nbsp;lost on this task!</div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">Any help ?</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">Thx</font></div>
<p>&nbsp;</p></blockquote></div><br>