[OpenLayers-Users] vector layer with WFS protocol: load wheninvisible?

bartvde at osgis.nl bartvde at osgis.nl
Wed Apr 29 09:13:21 EDT 2009


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: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
>> On Behalf Of bartvde at osgis.nl
>> Sent: Wednesday, April 29, 2009 2:26 PM
>> To: users at openlayers.org
>> 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
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
>
>





More information about the Users mailing list