Hi,

just do something like:

new OpenLayers.Control.WMSGetFeatureInfo({
    findLayers: function() {
        // your code to return the correct layers array goes here
    }
});

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Apr 17, 2012, at 8:14 AM, vrbikdan wrote:

> Hi, thanks for your suggestion. Unfortunatelly I'm not sure, where I should
> define findLayers function in my WMSGFI. I'm looking in it but I'm lost.
> Should I write it into eventListeners? Do you have some part of code for
> example? Sometimes it tells me more, because I'm still beginner 
> 
> Thanks
> Dan
> 
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/vendorParams-in-wmsGetFeatureInfo-tp4848746p4889146.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