<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>just do something like:</div><div><br></div><div>new OpenLayers.Control.WMSGetFeatureInfo({</div><div>&nbsp; &nbsp; findLayers: function() {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // your code to return the correct layers array goes here</div><div>&nbsp; &nbsp; }</div><div>});</div><div><br></div><div>Best regards,</div><div>Bart</div><div><br><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>--&nbsp;<br>Bart van den Eijnden<br>OpenGeo -&nbsp;<a href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Apr 17, 2012, at 8:14 AM, vrbikdan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi, thanks for your suggestion. Unfortunatelly I'm not sure, where I should<br>define findLayers function in my WMSGFI. I'm looking in it but I'm lost.<br>Should I write it into eventListeners? Do you have some part of code for<br>example? Sometimes it tells me more, because I'm still beginner <br><br>Thanks<br>Dan<br><br>--<br>View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/vendorParams-in-wmsGetFeatureInfo-tp4848746p4889146.html">http://osgeo-org.1560.n6.nabble.com/vendorParams-in-wmsGetFeatureInfo-tp4848746p4889146.html</a><br>Sent from the OpenLayers Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></div></blockquote></div><br></div></div></body></html>