AW: [OpenLayers-Users] Re: Hide/Show different features in one Layer ?

Arnd Wippermann arnd.wippermann at web.de
Thu Mar 1 16:16:03 EST 2012


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: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Albert
Gesendet: Donnerstag, 1. März 2012 20:41
An: openlayers-users at lists.osgeo.org
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
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list