[OpenLayers-Users] wfs layer

Christopher Schmidt crschmidt at metacarta.com
Tue Aug 12 09:21:48 EDT 2008


On Tue, Aug 12, 2008 at 11:19:57AM +0200, Eric Lemoine wrote:
> On Tue, Aug 12, 2008 at 11:12 AM, Walter Lorenzetti <lorenzetti at gis3w.it> wrote:
> > 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.
*and* that the layer has actually loaded, a process which takes non-zero
time.

The 'loadend' event will trigger on the layer once this happens.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list