[OpenLayers-Users] wfs layer

Walter Lorenzetti lorenzetti at gis3w.it
Tue Aug 12 05:12:54 EDT 2008


Eric Lemoine ha scritto:
>
>
> 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?
>   
ok yes I understand...
I tried to view the features array before WFS layer is add to the map
after WFS declaration...

So if I understand well
after a new declaration

var layer = new OpenLayers.Layer.WFS(...

the features array is empty

but after adding to the map

map.addlayer(layer)

features
array is populated.

It's right?

Walter




> --
> Eric
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080812/bfbb2edb/attachment.html


More information about the Users mailing list