<div dir="ltr"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Happy new year all,</span><div><font color="#222222" face="arial, sans-serif">I'm asking if there is a possibility to add a map legend to Geoext2 where spatial files are served locally  as KML or Goejson instead of wms queries?? I know that in the case of WMS queries, legend are added automatically. </font></div>


<div><font color="#222222" face="arial, sans-serif">I know also that I can add it statically (not dynamically)  as a div into my html file.</font></div><div><font color="#222222" face="arial, sans-serif">Many thanks</font></div>


<div><font color="#222222" face="arial, sans-serif"><br clear="all">
</font><div><div dir="ltr"><div><font size="1" color="#660000">------------------------------------------------------------------------------------------------------------</font></div><div><font size="1" color="#660000">Dr Hicham Hajji                                                                                    </font></div>



<font size="1" color="#660000">A. Professor, School of Geomatics & Surveying Engineering, Rabat </font><div><font size="1" color="#660000">PhD & Master, Computer Sciences INSA Lyon                                     </font></div>



<div><font size="1" color="#660000">Surveying Engineer, IAV Rabat                                                          </font></div><div><span style="color:rgb(102,0,0);font-size:x-small">IT, GIS, Web Mapping Consultant</span></div>



<div><font size="1" color="#660000">Follow me on Twitter <b><s style="line-height:24px;text-decoration:none;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,sans-serif">@</s><span style="line-height:24px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,sans-serif">hajjihi                                                                </span></b></font></div>



<div><span style="color:rgb(102,0,0);font-size:x-small">------------------------------------------------------------------------------------------------------------</span>
</div></div></div>
</div></div>