Depends on how you are using WMSGetFeatureInfo. The WMSGetFeatureInfo 
control does a GET.  You could use a click handler and explicitly do a 
request.POST.

However, back to the structure -- I understand the need to have 
different layers with different colours (though it looks to me like you 
could achieve the same thing with an SLD). The question though is 
whether the wmsgetfeatureInfo has to made against the same layer as you 
are displaying. Use the layers property on the control (not documented 
but see the source code) to specify a hidden layer by which the query is 
done on.

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.

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to