Hi, if your WFS supports multiple feature types per request, you should also be able to configure your OpenLayers vector layer with a comma separated list of feature types. The requirement, of course, is that all WFS layers are on the same server and have the same namespace.
Regards, Andreas. On May 18, 2010, at 14:36 , Matt Priour wrote: > You need to use a feature store for your grid that contains all of the > features you want to use. > To do this you will need to add a 'featuresadded' & 'featuresremoved' event > listeners to your WFS layers that append or remove the features from the > feature store. > A feature store typically syncrhonizes with a single layer, which is what is > happening in your current Grid, however to synchronize with multiple layers, > you will have to provide a bit of the plumbing yourself. > Matt Priour > Kestrel Computer Consulting > > From: Florent Coste > Sent: Tuesday, May 18, 2010 4:43 AM > To: [email protected] > Subject: [Users] How to feed a Grid from several WFS Layers > > Hello > > I'm able to synchronize a Grid with a WFS layer linked to a Map, but how to > do with several WFS layers ? > I want to have the possibility to deactiviate/activate each layer one by one > > All the WFS layers have the same properties so they can all be displayed > correctly in the grid. > I have searched in the API without success > > Regards, > Florent > > > > > _______________________________________________ > Users mailing list > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users > _______________________________________________ > Users mailing list > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
