You should use layers property of WMSGetFeatureInfo comtrol.
http://dev.openlayers.org/docs/files/OpenLayers/Control/WMSGetFeatureInfo-js.html#OpenLayers.Control.WMSGetFeatureInfo.layers

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/control-layers-of-GetFeatureInfo-tp6200051p6202769.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

Reply via email to