[OpenLayers-Users] Zooming to WFS layer

Bas Couwenberg bascouwenberg at gmail.com
Mon Aug 11 07:15:21 EDT 2008


Hello,

isn't it possible to make the url myself and use it to make a WFS request
that I can use to retrieve certain features to which I can zoom?

Greetings,

Bas

On Wed, Aug 6, 2008 at 7:03 PM, Eric Lemoine <eric.c2c at gmail.com> wrote:

> Hi. Basically the WFS layer reads features from the server using a box
> GET param as the map is moved. If won't trigger any request if it's
> not added to the map, and it basically won't help you with what you're
> trying to achieve. The work on vector-behavior that is currently being
> merged into trunk should meet your needs. You can take a look at the
> vector-behavior sandbox if you you can't wait, but be warned this is
> on-going work. Eric
>
> 2008/8/6, Bas Couwenberg <bascouwenberg at gmail.com>:
>  > Hello,
> >
> > I have a search function (for addresses) in my OL client which takes some
> > search criteria and builds up a filter to use with: OpenLayers.Layer.WFS.
> > After
> > OL loads all my layers with WFS I want to use this search function( which
> > loads a WFS layer thats not in my map) but I do not see the GET request
> > getting fired. Is it possible to do this while a layer is not added to a
> > map? I expect to se the GET request and retrieve the features which I can
> > use to zoom to an address.
> >
> > Greetings,
> >
> > Bas
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080811/f136f5a4/attachment.html


More information about the Users mailing list