Hi, No, but with a little patch of Protocol.WFS.v1 you can request more than one featureType layer from your wfs server into one vector layer and toggle between them.
It's a different approach to control the displayed features, if the features come from a wfs service. Arnd -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Albert Gesendet: Donnerstag, 1. März 2012 20:41 An: [email protected] Betreff: [OpenLayers-Users] Re: Hide/Show different features in one Layer ? Thanks .. it is a very useful example. but I noticed that the layer in example uses multiple featureTypes inside protocol : "featureType": ["LAYER1","LAYER2","LAYER3"], is that mean I have to separate my different features into different layers on GeoServer ? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Hide-Show-different-features-in-one-Laye r-tp4535434p4536914.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
