[OpenLayers-Users] vendorParams in wmsGetFeatureInfo
Bart van den Eijnden
bartvde at opengeo.org
Tue Apr 17 06:02:31 EDT 2012
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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120417/9b77cbbc/attachment.html
More information about the Users
mailing list