Hello all,<div><br></div><div>I've made a widget to change the style of vector features and all is working fine except for a small detail. After changing the style of a vector layer, the corresponding legend in the legend panel only gets updated after a zoom on the map. I've tried the methods update() and doLayout to both legendPanel and VectorLegend but nothing happens on the legend.</div>
<div><br></div><div>Any suggestions on how can i force the legend panel to update vector legends immediately after defining a new style?</div><div><br></div><div>Thanks. Regards,</div><div><br></div><div>Hugo</div><div><div>
<br></div>-- <br>Hugo Martins<br>LabNT - ISEGI UNL<br>Campus de Campolide<br>1070-312 Lisboa<br>N 38°43'56.84", W 9°9'35.74"<br>
</div>