You need to change the QUERY_LAYERS parameter - that controls the layers that are queried.
Ian On 23 May 2013 14:48, Giuseppe De Marco <peppeli...@yahoo.it> wrote: > using > > layers: [ corine, invasi, centri, infrastrutture, comuni, province ], > > in OpenLayers.Control.WMSGetFeatureInfo and commenting "drillDown" that > isn't used with "infoFormat:'text/html'," I can retreive just "comuni" and > "province" layers. > > The resulting query is this > > > http://myhostname:8000/proxy/?url=http%3A%2F%2Fmyhostname%2Fcgi-bin%2Fmapserv%3Fmap%3D%2Fmypath%2FMapServer%2Fmapfile_calabria_strati.map%26LAYERS%3DProvince%2CComuni%26QUERY_LAYERS%3DProvince%2CComuni%26STYLES%3D%2C%26SERVICE%3DWMS%26VERSION%3D1.1.1%26REQUEST%3DGetFeatureInfo%26BBOX%3D383042.615536%252C4196768.493%252C861157.384464%252C4444723.795%26FEATURE_COUNT%3D10%26HEIGHT%3D836%26WIDTH%3D1612%26FORMAT%3Dimage%252Fpng%26INFO_FORMAT%3Dtext%252Fhtml%26SRS%3DEPSG%253A32633%26X%3D659%26Y%3D155 > > I need to include, inside of it, the others layers. > layers declaration isn't exclusively for this purpose ? > > So I can't get out of this problem, is it normal ? > > _______________________________________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-users > > -- Ian Turton
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users