Legend widget is not updating correctly
|Reported by:||CivilEng||Owned by:||madair|
|External ID:||Operating System:||Windows|
The steps in order to replicate the issue are:
- To create a new session layer (programatically in MGOS).
- 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.