It only happens if the WFS layer is the first one in the layers stack, so
map.layers[0]. I'll try and investigate further.

Best regards,
Bart

> Hey Kris,
>
> thanks for your reply. Strangely enough I cannot reproduce it anymore, my
> sandbox was created off trunk 2 days ago.
>
> http://dev.openlayers.org/sandbox/bartvde/owscontext/openlayers/examples/owscontext.html
>
> Best regards,
> Bart
>
>> Hi Bart,
>>
>> I have the same setup but when layer is created with visibility: false
>> no requests are made until visibility is changed.
>> Are you sure you use the last trunk version. I believe there has been
>> some changes to activate protocol later than originally was done.
>>
>> Cheers Kris
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]]
>> On Behalf Of [email protected]
>> Sent: Wednesday, April 29, 2009 2:26 PM
>> To: [email protected]
>> Subject: [OpenLayers-Users] vector layer with WFS protocol: load
>> wheninvisible?
>>
>> Hi list,
>>
>> using trunk I see that a vector layer with a BBOX strategy and a WFS
>> protocol does request data even if it is not visible in the map.
>>
>> Is this intentional / by design?
>>
>> Best regards,
>> Bart
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://openlayers.org/mailman/listinfo/users
>>
>
>
>


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to