Ticket #141 (closed defect: fixed)
Legend widget is not updating correctly
|Reported by:||CivilEng||Owned by:||madair|
The steps in order to replicate the issue are:
1. To create a new session layer (programatically in MGOS). 2. Next, user themes the new session layer (according to his/her preference) then, the map widget is updated correctly however the legend widget is updated incorrectly.
The ranks shows in the legend widget are correct but the colors are wrongs.
I have used reloadMap since is the unique way of updating the legend programatically. What it happening is that the browser is caching the legend images from previos theme. When the browser cache is deleted then the legend widget is painted correctly.