On Tue, Aug 12, 2008 at 11:12 AM, Walter Lorenzetti <[EMAIL PROTECTED]> wrote:
> 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?

Yes, assuming that setCenter has already occurred when the layer is added.

--
Eric
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to