<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"><</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]></font><font size="2"> [leg_class_name]
</font><font color="#0000ff" size="2"><</font><font color="#a31515" size="2">br</font><font color="#0000ff" size="2">></font></p><font size="2">
<p>[/leg_class_html]</p></font></div>
<div> </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 "template.html" </p>
<p>END</p></font></div>
<div> </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 I´m not using it correctly :</font></div>
<div><font size="2"></font> </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">
_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> </p>
<p><font size="2"><font size="2">Any ideas? I´m using Mapserver 5.0 beta 3 !</font></font></p>
<p><font size="2"><font size="2">[]´s</font></font></p></div>
<div><font size="2"></font> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 8/23/07, <b class="gmail_sendername">Paul james</b> <<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>> 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>) <font size="2">draw</font>with HTML legend ... </div>
<div>I´d like to known if someone could help me with that... Any samples using mapscript? </div>
<div>I´m completely lost on this task!</div>
<div><font size="2"></font> </div>
<div><font size="2">Any help ?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Thx</font></div>
<p> </p></blockquote></div><br>