Do you have an example please using this part where you mention "the layers property on the control (not documented<br>
but see the source code) to specify a hidden layer by which the query is
done on". Also if you have a link to an example how to use the Post method please.<br><br>Thank you so much for your help<br><br><div class="gmail_quote">On Mon, Dec 10, 2012 at 4:01 PM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Depends on how you are using WMSGetFeatureInfo. The WMSGetFeatureInfo<br>
control does a GET. You could use a click handler and explicitly do a<br>
request.POST.<br>
<br>
However, back to the structure -- I understand the need to have<br>
different layers with different colours (though it looks to me like you<br>
could achieve the same thing with an SLD). The question though is<br>
whether the wmsgetfeatureInfo has to made against the same layer as you<br>
are displaying. Use the layers property on the control (not documented<br>
but see the source code) to specify a hidden layer by which the query is<br>
done on.<br>
<div class="HOEnZb"><div class="h5"><br>
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>M.Sc. Karina Guardado<br>Celular: (503) 7115 2898<br><br><br><br>