[ka-Map-users] Re: bug in iframe.html - it ignores "layers" parameter

Paul Spencer pspencer at dmsolutions.ca
Sat Dec 9 11:40:11 EST 2006


Ravi,

can you send a patch or at least some code snippets that show your  
changes?

Paul

On 9-Dec-06, at 1:29 AM, Ravi wrote:

>
> Ok guys I found the issue. The problem was that a layer when  
> created was "visible" by default. Later on another methods checks  
> for the "layers" query parameter and turns layers on and off.  
> However in the mean time all the layers have already been  
> unnecessarily loaded.
>
> I forced the layer to be not visible at creation time. This made a  
> huge improvement in my project. I see no reason why the layer  
> should be on at creation time.
>
> Paul, if you agree, can you make this change. This is quick and  
> easy fix but makes huge difference in loading time.
>
> Thanks
> Ravi
>
>
> Ravi wrote:
>> I have found a bug that does impact the performance of the  
>> application as well (at least for me).
>> When the iframe.html is loaded, it parses the URL to find the map  
>> and zoom etc, however it ignores the "layers" parameters. This  
>> causes it to load ALL the layers and hence slowing down the system.
>> Is there an easy fix to this? Since I have lots of layers, it is  
>> significantly impacting the load time of my application.
>> Ravi
>

+-----------------------------------------------------------------+
|Paul Spencer                          pspencer at dmsolutions.ca    |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list