Legend widget is not updating correctly

6 messages Options
Embed this post
Permalink
Rodolfo Moreno

Legend widget is not updating correctly

Reply Threaded More More options
Print post
Permalink

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Rodolfo Moreno
CivilEng
Paul Spencer-2

Re: Legend widget is not updating correctly

Reply Threaded More More options
Print post
Permalink
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
> [hidden email]
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Rodolfo Moreno

Re: Legend widget is not updating correctly

Reply Threaded More More options
Print post
Permalink

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
>> [hidden email]
>> 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
> [hidden email]
> 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.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Rodolfo Moreno
CivilEng
Paul Spencer-2

Re: Legend widget is not updating correctly

Reply Threaded More More options
Print post
Permalink
Good.  I suppose we can add a random string to the URL that requests  
legend images to make caching not happen, although this may cause some  
things to be less efficient.  We must proceed with caution.

Cheers

Paul

On 14-Oct-08, at 11:15 AM, Rodolfo Moreno wrote:

>
> 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
>>> [hidden email]
>>> 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
>> [hidden email]
>> 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.
>
> _______________________________________________
> fusion-users mailing list
> [hidden email]
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Rodolfo Moreno

Re: Legend widget is not updating correctly

Reply Threaded More More options
Print post
Permalink

Hi Paul,
Could I put a ticket for this issue, in order to know when it will be
solved?

Thanks


Paul Spencer-2 wrote:

>
> Good.  I suppose we can add a random string to the URL that requests  
> legend images to make caching not happen, although this may cause some  
> things to be less efficient.  We must proceed with caution.
>
> Cheers
>
> Paul
>
> On 14-Oct-08, at 11:15 AM, Rodolfo Moreno wrote:
>
>>
>> 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
>>>> [hidden email]
>>>> 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
>>> [hidden email]
>>> 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.
>>
>> _______________________________________________
>> fusion-users mailing list
>> [hidden email]
>> 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
> [hidden email]
> 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-tp1329703p1337504.html
Sent from the Fusion Users mailing list archive at Nabble.com.

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Rodolfo Moreno
CivilEng
Paul Spencer-2

Re: Legend widget is not updating correctly

Reply Threaded More More options
Print post
Permalink
Please do!

On 15-Oct-08, at 12:23 PM, Rodolfo Moreno wrote:

>
> Hi Paul,
> Could I put a ticket for this issue, in order to know when it will be
> solved?
>
> Thanks
>
>
> Paul Spencer-2 wrote:
>>
>> Good.  I suppose we can add a random string to the URL that requests
>> legend images to make caching not happen, although this may cause  
>> some
>> things to be less efficient.  We must proceed with caution.
>>
>> Cheers
>>
>> Paul
>>
>> On 14-Oct-08, at 11:15 AM, Rodolfo Moreno wrote:
>>
>>>
>>> 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
>>>>> [hidden email]
>>>>> 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
>>>> [hidden email]
>>>> 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.
>>>
>>> _______________________________________________
>>> fusion-users mailing list
>>> [hidden email]
>>> 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
>> [hidden email]
>> 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-tp1329703p1337504.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
>
> _______________________________________________
> fusion-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/fusion-users


__________________________________________

    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://research.dmsolutions.ca/

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users