[OpenLayers-Users] Suppressing layers from being loaded
Jeff Yutzler
jeff.yutzler at ionicenterprise.com
Thu Nov 1 01:00:19 EDT 2007
To answer your question, the problem only occurred on initial load. I
was originally using setVisibility(false) and went to setting the
visibility directly after I identified a problem. However, hold off on
this until I can provide a simplified test case. My first attempt to
create one failed to reproduce the problem. This has me requestioning
my assumptions.
Christopher Schmidt wrote:
> On Wed, Oct 31, 2007 at 04:55:05PM -0400, Jeff Yutzler wrote:
>
>> I have a Layer that renders feature data from a richly populated
>> datastore. The problem is that at large scale, a Get Image operation is
>> expensive but I can't seem to prevent the Get Image operation from
>> occurring. In an attempt to avoid the problem, I set {visibility:
>> false} in the options when I instantiate the layer object, but this had
>> no effect. I have confirmed that the parameter has made its way to
>> div.style.display = "none". However, I see that Firefox is still
>> attempting to load the image. This is bad. (FWIW, this layer extends
>> Grid, but this problem would presumably occur on any layer type.)
>>
>
> What happens if you do setVisibility(false); instead of setting the
> visibility yourself?
>
> Does it continue to load as you change zooms more than once?
>
> It's possible this is part of an already-reported bug, or possibly a new
> bug report I'm not yet aware of.
>
> Regards,
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jeff.yutzler.vcf
Type: text/x-vcard
Size: 331 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071101/0a8f4aa8/jeff.yutzler.vcf
More information about the Users
mailing list