[fusion-users] Legend widget is not updating correctly

Rodolfo Moreno rmoreno at voxiva.com
Tue Oct 14 11:15:24 EDT 2008


Hi Paul,
I am using reloadMap because is the unique way for update the legend
programatically.
What it happening is the second, the browser is caching the legend images
from previos theme. I have cheked it and after of deleting the cache FUSION
is painting correctly the legend widget either in IE and FF.

Maybe it to be an issue since the map widget doesn't have this problem with
the cache.

Regards,


Paul Spencer-2 wrote:
> 
> Rodolfo,
> 
> I don't think the legend widget will update correctly unless you call  
> the reloadMap method of the map widget after changing the theming of  
> the layer.  It is also possible (but less likely in this case) that  
> the browser is caching the legend images from the previous theme.
> 
> Cheers
> 
> Paul
> 
> On 13-Oct-08, at 1:55 PM, Rodolfo Moreno wrote:
> 
>>
>> Hi all,
>> Here are the steps in order to replicate the issue:
>> 1. To create a new session layer (programatically)
>> 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 (view the attached image).
>>
>> The attached image shows the layer reddesague(rd) themed with  
>> different
>> color that the legend widget.
>> The ranks shows in the legend widget are correct however the colors  
>> are
>> wrongs.
>>
>> Plataform: WINDOW, IIS 6, MAPGUIDE OS 2.0.1, .NET Enviroment
>>
>> Is this issue known?
>>
>>  http://n2.nabble.com/file/n1329703/VentanillaFUSIONissue.JPG
>> VentanillaFUSIONissue.JPG
>>
>> -----
>> Rodolfo Moreno
>> CivilEng
>>
>> -- 
>> View this message in context:
>> http://n2.nabble.com/Legend-widget-is-not-updating-correctly-tp1329703p1329703.html
>> Sent from the Fusion Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> fusion-users mailing list
>> fusion-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/fusion-users
> 
> 
> __________________________________________
> 
>     Paul Spencer
>     Chief Technology Officer
>     DM Solutions Group Inc
>     http://www.dmsolutions.ca/
> 
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
> 
> 


-----
Rodolfo Moreno
CivilEng

-- 
View this message in context: http://n2.nabble.com/Legend-widget-is-not-updating-correctly-tp1329703p1332983.html
Sent from the Fusion Users mailing list archive at Nabble.com.



More information about the fusion-users mailing list