Okay, I finally found some time (and energy) to track this one down, I've opened up:
http://trac.openlayers.org/ticket/2072#preview for further discussion. Best regards, Bart [email protected] wrote: > Could this have to do something with allOverlays: true which I am using? > > I've changed back the sequence of layers (should be up in 5 minutes) so > it's reproduceable in the following example (the GNIS population is the > WFS layer), switch it off and zoom to max extent you'll see the WFS > request for the whole world going off. > > http://dev.openlayers.org/sandbox/bartvde/owscontext/openlayers/examples/owscontext.html > > Best regards, > Bart > > >> 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 >> >> > > > > > -- Bart van den Eijnden OSGIS, Open Source GIS [email protected] http://www.osgis.nl _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
