Hi,<br><br>Sorry I have mistake when edit your searchresults.phtml, <br>I comments out the layer control array &lt;sorry I didn&#39;t remember the line number&gt;, <br>that&#39;s why the result&#39;s always shown the same attribute even in searchlist has report &quot;8 Matches Returned&quot;.
<br>It impact to the hilite too &lt;I don&#39;t know why&gt;. But Now it&#39;s working..<br>Thanks&nbsp; for the advice...<br><br>Regards,<br><br>Ilham Adi A.<br><br><div><span class="gmail_quote">On 30/04/07, <b class="gmail_sendername">
Delfos, Jacob</b> &lt;<a href="mailto:Jacob.Delfos@maunsell.com">Jacob.Delfos@maunsell.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Hi Ilham,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Sorry for my late reply. I was on 
leave.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">There are a few possible reasons why the highlight would 
not appear. It is possible you did not specify &quot;HIGHLIGHT=&#39;TRUE&#39;&quot; in the 
definition, but the most likely cause is that it does not have writing 
permission or &quot;folder creation permission&quot; in your temporary directory. I have 
set it up to dump the temporary shapefile in a dedicated folder. It didn&#39;t occur 
to me that some people may have permission problems inside the temp folder. 
</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">If this is the case, you&#39;d have to edit two 
files:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">in searchresults.phtml, line 401,&nbsp;get rid 
of:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">.&quot;/queryresultdir&quot;</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">and in download.php, line 13, also get rid 
of:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">.&quot;/queryresultdir&quot;;</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Hopefully that will fix it. If not, please let me know 
which PHP errors show up in your log.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">You say you don&#39;t want &quot;queryresult&quot; in the legend. Do you 
mean &quot;do not show an icon&quot;?</font></span></div>
<div dir="ltr" align="left"><span></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">To hide the icon, comments out line 574 in 
searchresults.phtml, which says:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">$queryclass-&gt;set(&quot;name&quot;, &quot;Query 
result&quot;);&nbsp;</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">regards,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Jacob</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" align="left" lang="en-us">
  <hr>
  <font face="Tahoma" size="2"><b>From:</b> Ilham Adi Afdillah 
  [mailto:<a href="mailto:ilham.adi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ilham.adi@gmail.com</a>] <br><b>Sent:</b> 24 April 2007 
  18:03<span class="q"><br><b>To:</b> <a href="mailto:chameleon@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chameleon@lists.maptools.org</a><br></span><b>Cc:</b> Julien-Samuel 
  Lacroix<br><b>Subject:</b> Re: [Chameleon] Update Widget<br></font><br></div><div><span class="e" id="q_11240667dd42ef44_3">
  <div></div>Hi Jacob, Julien,<br><br>I use MS4W 2.1 Package and Chameleon 2.4, 
  and my few problem was solve. For problem:<br>1. LocateByAttribute when using 
  Postgis Data,<br>&nbsp;&nbsp;&nbsp; Thanks to Jacob for the update widget, it 
  work except the hilite <br>&nbsp;&nbsp;&nbsp; didn&#39;t appears in my map (just 
  in my legend). Could you tell me how to <br>&nbsp;&nbsp;&nbsp; hilite my map 
  without appearing the layer &#39;Queryresult&#39; in legend?, because it can be 
  done<br>&nbsp;&nbsp;&nbsp; using my earlier widget with shapefile data. <br>2. 
  Rectangular Queries, I used the widget zip file that exist in this milist. 
  It&#39;s work!<br>3. The QuickZoom still doesn&#39;t work..???<br>4. Ruler widget 
  didn&#39;t show the line again after &gt;350 km when measure distance. 
  <br>&nbsp;&nbsp; It was solved by change the value of var $mnNumberOfPoints = 
  200 default is 100. <br>&nbsp;&nbsp; More value I give, the process take more 
  time, It isn&#39;t right? or there is another solution.<br><br>Here is my map file 
  looks like: <br>MAP<br><br>&nbsp;&nbsp;&nbsp; NAME 
  &quot;BALI&quot;<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; SIZE 600 500 #520 
  420&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; EXTENT 114.431625 -8.849258 
  115.711227 -8.061678&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; SYMBOLSET 
  &quot;../etc/symbol.sym&quot;<br>&nbsp;&nbsp;&nbsp; FONTSET &quot;../etc/fonts.txt&quot; 
  <br>&nbsp;&nbsp;&nbsp; UNITS DD<br>&nbsp;&nbsp;&nbsp; IMAGETYPE 
  PNG<br>&nbsp;&nbsp;&nbsp; IMAGECOLOR 255 255 255<br>&nbsp;&nbsp;&nbsp; 
  TRANSPARENT FALSE<br><br>WEB<br>&nbsp;&nbsp;&nbsp; IMAGEPATH 
  &quot;c:/ms4w/tmp/ms_tmp/&quot;<br>&nbsp;&nbsp;&nbsp; IMAGEURL 
  &quot;/ms_tmp/&quot;<br>&nbsp;&nbsp;&nbsp; METADATA&nbsp; <br>&nbsp;&nbsp; 
  &quot;show_in_legend&quot; &quot;1&quot; <br>&nbsp;&nbsp;&nbsp; 
  END<br>END<br><br>REFERENCE<br>&nbsp;&nbsp;&nbsp; STATUS 
  ON<br>&nbsp;&nbsp;&nbsp; IMAGE &quot;images/keymap.gif&quot;<br>&nbsp;&nbsp;&nbsp; SIZE 
  120 74&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; EXTENT 114.431625 -8.849258 
  115.711227 -8.061678<br>&nbsp;&nbsp;&nbsp; COLOR -1 -1 
  -1<br>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0 
  <br>END<br><br>QUERYMAP<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; 
  COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; STYLE 
  HILITE<br>END<br><br>PROJECTION<br>&nbsp;&nbsp;&nbsp; 
  &quot;init=epsg:32750&quot;<br>END<br><br>LEGEND<br>&nbsp;&nbsp;&nbsp; KEYSIZE 18 
  12<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; 
  LABEL<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; FONT &quot;Verdana&quot; 
  <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 
  8<br>&nbsp;&nbsp;&nbsp; END<br>END<br><br>SCALEBAR<br>&nbsp; IMAGECOLOR 255 
  255 255<br>&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp; COLOR 0 0 0 
  <br>&nbsp;&nbsp;&nbsp; SIZE SMALL<br>&nbsp; END<br>&nbsp; SIZE 150 5<br>&nbsp; 
  COLOR 255 255 255 <br>&nbsp; BACKGROUNDCOLOR 0 0 0<br>&nbsp; OUTLINECOLOR 0 0 
  0<br>&nbsp; UNITS KILOMETERS<br>&nbsp; INTERVALS 5<br>&nbsp; STATUS 
  ON<br>END<br><br>LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;Bali&quot;<br>&nbsp;&nbsp;&nbsp; 
  METADATA<br>&nbsp;&nbsp;&nbsp; &quot;DESCRIPTION&quot; &quot;Admin&quot;&nbsp;&nbsp;&nbsp; 
  <br>&nbsp;&nbsp;&nbsp; &quot;GROUP&quot; &quot;Polygon&quot;<br>&nbsp;&nbsp;&nbsp; &quot;LAYER&quot; 
  &quot;bali&quot;<br>&nbsp;&nbsp;&nbsp; &quot;SPATIALSEARCH&quot; &quot;kabupaten, 
  propinsi&quot;<br>&nbsp;&nbsp;&nbsp; &quot;SPATIALSEARCHLIST&quot; 
  &quot;kabupaten&quot;<br>&nbsp;&nbsp;&nbsp; &quot;RESULT_FIELDS&quot; &quot;kabupaten&quot; 
  <br>&nbsp;&nbsp;&nbsp; &quot;show_in_legend&quot; &quot;1&quot;<br>&nbsp; 
  END<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE 
  postgis<br>&nbsp;&nbsp;&nbsp; CONNECTION &quot;host=localhost port=5432 dbname=*** 
  user=*** password=***&quot;<br>&nbsp;&nbsp;&nbsp; STATUS 
  DEFAULT<br>&nbsp;&nbsp;&nbsp; DATA &quot;geom from bali&quot;<br>&nbsp;&nbsp;&nbsp; 
  TEMPLATE &quot;ttt&quot;<br>&nbsp;&nbsp;&nbsp; LABELITEM 
  &quot;kabupaten&quot;<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  #OUTLINECOLOR 28 93 139<br>&nbsp;&nbsp;&nbsp; COLOR 0 120 
  220<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #SYMBOL &quot;dashed_long&quot; 
  <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #SIZE 1<br>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT &quot;sans&quot; 
  #&quot;fritqat&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE 
  TRUETYPE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS 
  TRUE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 0 0 
  0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 
  255 255<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 6 
  <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; POSITION 
  CC<br>&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>END<br><br><br>And this is 
  my QuickZoom statement:<br><br>&lt;!-- QUICK ZOOM --&gt;<br>&lt;td 
  align=&quot;center&quot;&gt;<br>&lt;cwc2 type=&quot;QuickZoom&quot; Label=&quot;&quot; LabelPosition=&quot;0&quot; 
  widgetclass=&quot;label&quot; labelclass=&quot;label&quot;&gt; <br>&nbsp;&nbsp;&nbsp; &lt;view 
  name=&quot;Pilih Lokasi ...&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Badung&quot; 
  minx=&quot;115.083840&quot; miny=&quot;-8.849258&quot; maxx=&quot;115.252533&quot; maxy=&quot;-8.234078&quot; 
  SRS=&quot;epsg:32750&quot;/&gt; <br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Tabanan&quot; 
  minx=&quot;114.909699&quot; miny=&quot;-8.6359743&quot; maxx=&quot;115.216179&quot; maxy=&quot;-8.237040&quot; 
  SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Jembrana&quot; 
  minx=&quot; 114.431625&quot; miny=&quot;-8.463202&quot; maxx=&quot;114.933952&quot; maxy=&quot;-8.160602&quot; 
  SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Karang asem&quot; 
  minx=&quot;115.389915&quot; miny=&quot;- 8.550742&quot; maxx=&quot;115.711227&quot; maxy=&quot;-8.170411&quot; 
  SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Bangli&quot; 
  minx=&quot;115.235002&quot; miny=&quot;-8.524396&quot; maxx=&quot;115.458557 &quot; maxy=&quot;-8.143510&quot; 
  SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Klungkung&quot; 
  minx=&quot;115.351547&quot; miny=&quot;-8.819542&quot; maxx=&quot;115.628586&quot; maxy=&quot;-8.462596&quot; 
  SRS=&quot;epsg:32750&quot;/&gt; <br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Buleleng&quot; 
  minx=&quot;114.432274&quot; miny=&quot;-8.379020&quot; maxx=&quot;115.459536&quot; maxy=&quot;-8.061678&quot; 
  SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Gianyar&quot; 
  minx=&quot; 115.222916&quot; miny=&quot;-8.645082&quot; maxx=&quot;115.369863&quot; maxy=&quot;-8.313276&quot; 
  SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kota Denpasar&quot; 
  minx=&quot;115.173248&quot; miny=&quot;-8.746707 &quot; maxx=&quot;115.281966&quot; maxy=&quot;-8.588169&quot; 
  SRS=&quot;epsg:32750&quot;/&gt;<br>&lt;/cwc2&gt;<br>&lt;/td&gt; <br><br>Thanks for your 
  help.<br><br>Regards,<br><br>Ilham Adi A.<br><br><br>
  <div><span class="gmail_quote">On 24/04/07, <b class="gmail_sendername">Julien-Samuel Lacroix</b> &lt;<a href="mailto:jlacroix@mapgears.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jlacroix@mapgears.com
</a>&gt; 
wrote:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>Where 
    did you take the package? Is a MS4W, tarball or FGS 
    package?<br><br>Julien<br><br>Ilham Adi Afdillah wrote:<br>&gt; 
    Hi,<br>&gt;<br>&gt; I have update my Chameleon using the latest release 
    &lt;Chameleon 2.4.1&gt;, <br>&gt; but I still got problem,<br>&gt; it&#39;s look 
    like I need to update my widget due to the issue :<br>&gt; 1. 
    LocateByAttribute when using Postgis Data<br>&gt; 2. Rectangular 
    Queries.<br>&gt; 3. When using postgis data QuickZoom widget doesn&#39;t work 
    too. <br>&gt; 4. Ruler widget didn&#39;t show the line again after &gt;350 km 
    when measure<br>&gt; distance.<br>&gt; Can someone give me the 
    file?.<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Ilham Adi 
    A.<br>&gt;<br>&gt;<br>&gt; 
    ------------------------------------------------------------------------ 
    <br>&gt;<br>&gt; _______________________________________________<br>&gt; 
    Chameleon mailing list<br>&gt; <a href="mailto:Chameleon@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Chameleon@lists.maptools.org</a><br>&gt; 
    <a href="http://lists.maptools.org/mailman/listinfo/chameleon" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>--<br>Julien-Samuel 
    Lacroix<br>Mapgears<br><a href="http://www.mapgears.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.mapgears.com/</a><br></blockquote></div><br></span></div></blockquote></div>


<table><tbody><tr><td><span class="q"></span><td bgcolor="#ffffff"><font color="#000000">This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient&#39;s responsibility to check this email and any attachments to this email for viruses before use.
<br>
</font></td></td></tr></tbody></table></blockquote></div><br>