[OpenLayers-Users] wfs layer
Eric Lemoine
eric.c2c at gmail.com
Tue Aug 12 04:48:52 EDT 2008
On Tue, Aug 12, 2008 at 9:08 AM, Walter Lorenzetti <lorenzetti at gis3w.it> wrote:
> Hi all,
>
> I'm not good in javascript, but I don't understand very much why if I
> initialize a wfs layer, like this
>
> var layer = new new OpenLayers.Layer.WFS(.....
>
> I can find its features in layers.features?
> on firebug console I obtain a array empty '[]'!!!
>
> Someone can explain me better?
When adding a WFS layer to the map a WFS/GetFeature request is sent to
the WFS server; when the response comes back the layer's features
array is populated.
Does that answer your question?
--
Eric
More information about the Users
mailing list