You could do it by use of depricated code

http://dev.openlayers.org/releases/OpenLayers-2.8/examples/wfs-states.html

layer = new OpenLayers.Layer.WFS( "States WFS",
        "http://sigma.openplans.org/geoserver/ows";,
        { typename: 'topp:states' } );

typename could be a list of layers ("layer1,layer2,layer3").

Online example:
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_
group_wfs.html

I woukd like to do the same with OpenLayers.Layer.Vector and protocol WFS.

Arnd
 

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Mondi
Gesendet: Donnerstag, 10. Februar 2011 13:05
An: [email protected]
Betreff: [OpenLayers-Users] Re: How to merge multiple vector (WFS) layers?


So, any other ideas how can I merge two wfs layers in one?
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/How-to-merge-multiple-vector-WFS-laye
rs-tp5559811p6011358.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

Reply via email to