[Users] How to feed a Grid from several WFS Layers
Matt Priour
mpriour at kestrelcomputer.com
Tue May 18 14:36:01 CEST 2010
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: users at geoext.org
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
Users at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100518/d3af4ebb/attachment.htm
More information about the Users
mailing list