<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi. I want to use query tool for one or two layers instead of all.</DIV>
<DIV> </DIV>
<DIV>In drawmap.php I found this:</DIV>
<DIV> </DIV>
<DIV>gszQueryLayers : string<BR> Comma delimited string of layer indexes to query.<BR> If not supplied and a query is called for then all<BR> visible layers will be queried.</DIV>
<DIV> </DIV>
<DIV>Then I add : "&gszQueryLayers=" + '36' in Query.widget.php at line 406 to observe if something changes:</DIV>
<DIV> </DIV>
<DIV> if ({$szHighlightResults})<BR> {<BR> var img = CWCDHTML_GetImage( 'MapLayerDivImg' );<BR> <BR> img.src = gMapDHTMLURL + "&run_query=1&gszQueryCoords=" + szCoord + "&gszPersistentQuery={$szPersistentResults}" + "&gszQueryLayers=" + '36';</DIV>
<DIV> </DIV>
<DIV>36 is the layer_index of one of my layers.</DIV>
<DIV> </DIV>
<DIV>Hovever there is no change;</DIV>
<DIV> </DIV>
<DIV>How can I take advance of &gszQueryLayers string?</DIV>
<DIV>How can I query one single layer (selected layer for example)?</DIV>
<DIV> </DIV></td></tr></table><br>