On Tue, Aug 12, 2008 at 11:19:57AM +0200, Eric Lemoine wrote: > On Tue, Aug 12, 2008 at 11:12 AM, Walter Lorenzetti <[EMAIL PROTECTED]> 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 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
