[OpenLayers-Users] Using OpenLayers.Protocol.WFS.fromWMSLayer with two or more layers

fedesan fedesanchez888 at gmail.com
Wed Mar 17 21:41:30 EDT 2010


Hi, 
Im using "WFS GetFeature Example" to select features from a layer ,

control = new OpenLayers.Control.GetFeature({
                protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer),
                box: true,
                hover: true,
                multipleKey: "shiftKey",
                toggleKey: "ctrlKey"
            });



 but i'm wondering if there is a way to select features from all active
layers instead of just one layer
 sometheing like "protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer1,
layer2)"
 Is this possible??
-- 
View this message in context: http://n2.nabble.com/Using-OpenLayers-Protocol-WFS-fromWMSLayer-with-two-or-more-layers-tp4754121p4754121.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list