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> Thanks to Jacob for the update widget, it work except the hilite
<br> didn't appears in my map (just in my legend). Could you tell me how to <br> hilite my map without appearing the layer 'Queryresult' in legend?, because it can be done<br> using my earlier widget with shapefile data.
<br>2. Rectangular Queries, I used the widget zip file that exist in this milist. It's work!<br>3. The QuickZoom still doesn't work..???<br>4. Ruler widget didn't show the line again after >350 km when measure distance.
<br> It was solved by change the value of var $mnNumberOfPoints = 200 default is 100. <br> More value I give, the process take more time, It isn't right? or there is another solution.<br><br>Here is my map file looks like:
<br>MAP<br><br> NAME "BALI"<br> STATUS ON<br> SIZE 600 500 #520 420 <br> EXTENT 114.431625 -8.849258 115.711227 -8.061678 <br> SYMBOLSET "../etc/symbol.sym"<br> FONTSET "../etc/fonts.txt"
<br> UNITS DD<br> IMAGETYPE PNG<br> IMAGECOLOR 255 255 255<br> TRANSPARENT FALSE<br><br>WEB<br> IMAGEPATH "c:/ms4w/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br> METADATA <br> "show_in_legend" "1"
<br> END<br>END<br><br>REFERENCE<br> STATUS ON<br> IMAGE "images/keymap.gif"<br> SIZE 120 74 <br> EXTENT 114.431625 -8.849258 115.711227 -8.061678<br> COLOR -1 -1 -1<br> OUTLINECOLOR 255 0 0
<br>END<br><br>QUERYMAP<br> STATUS ON<br> COLOR 255 0 0<br> STYLE HILITE<br>END<br><br>PROJECTION<br> "init=epsg:32750"<br>END<br><br>LEGEND<br> KEYSIZE 18 12<br> STATUS ON<br> LABEL<br> FONT "Verdana"
<br> TYPE TRUETYPE<br> COLOR 0 0 0<br> SIZE 8<br> END<br>END<br><br>SCALEBAR<br> IMAGECOLOR 255 255 255<br> LABEL<br> COLOR 0 0 0 <br> SIZE SMALL<br> END<br> SIZE 150 5<br> COLOR 255 255 255
<br> BACKGROUNDCOLOR 0 0 0<br> OUTLINECOLOR 0 0 0<br> UNITS KILOMETERS<br> INTERVALS 5<br> STATUS ON<br>END<br><br>LAYER<br> NAME "Bali"<br> METADATA<br> "DESCRIPTION" "Admin"
<br> "GROUP" "Polygon"<br> "LAYER" "bali"<br> "SPATIALSEARCH" "kabupaten, propinsi"<br> "SPATIALSEARCHLIST" "kabupaten"<br> "RESULT_FIELDS" "kabupaten"
<br> "show_in_legend" "1"<br> END<br> TYPE POLYGON<br> CONNECTIONTYPE postgis<br> CONNECTION "host=localhost port=5432 dbname=*** user=*** password=***"<br> STATUS DEFAULT<br>
DATA "geom from bali"<br> TEMPLATE "ttt"<br> LABELITEM "kabupaten"<br> CLASS<br> OUTLINECOLOR 0 0 0<br> #OUTLINECOLOR 28 93 139<br> COLOR 0 120 220<br> #SYMBOL "dashed_long"
<br> #SIZE 1<br> LABEL<br> FONT "sans" #"fritqat"<br> TYPE TRUETYPE<br> ANTIALIAS TRUE<br> COLOR 0 0 0<br> OUTLINECOLOR 255 255 255<br> SIZE 6
<br> POSITION CC<br> END<br> END<br>END<br><br><br>And this is my QuickZoom statement:<br><br><!-- QUICK ZOOM --><br><td align="center"><br><cwc2 type="QuickZoom" Label="" LabelPosition="0" widgetclass="label" labelclass="label">
<br> <view name="Pilih Lokasi ..."/><br> <view name="Kab. Badung" minx="115.083840" miny="-8.849258" maxx="115.252533" maxy="-8.234078" SRS="epsg:32750"/>
<br> <view name="Kab. Tabanan" minx="114.909699" miny="-8.6359743" maxx="115.216179" maxy="-8.237040" SRS="epsg:32750"/><br> <view name="Kab. Jembrana" minx="
114.431625" miny="-8.463202" maxx="114.933952" maxy="-8.160602" SRS="epsg:32750"/><br> <view name="Kab. Karang asem" minx="115.389915" miny="-
8.550742" maxx="115.711227" maxy="-8.170411" SRS="epsg:32750"/><br> <view name="Kab. Bangli" minx="115.235002" miny="-8.524396" maxx="115.458557
" maxy="-8.143510" SRS="epsg:32750"/><br> <view name="Kab. Klungkung" minx="115.351547" miny="-8.819542" maxx="115.628586" maxy="-8.462596" SRS="epsg:32750"/>
<br> <view name="Kab. Buleleng" minx="114.432274" miny="-8.379020" maxx="115.459536" maxy="-8.061678" SRS="epsg:32750"/><br> <view name="Kab. Gianyar" minx="
115.222916" miny="-8.645082" maxx="115.369863" maxy="-8.313276" SRS="epsg:32750"/><br> <view name="Kota Denpasar" minx="115.173248" miny="-8.746707
" maxx="115.281966" maxy="-8.588169" SRS="epsg:32750"/><br></cwc2><br></td> <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> <<a href="mailto:jlacroix@mapgears.com">jlacroix@mapgears.com</a>> 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>> Hi,<br>><br>> I have update my Chameleon using the latest release <Chameleon 2.4.1>,
<br>> but I still got problem,<br>> it's look like I need to update my widget due to the issue :<br>> 1. LocateByAttribute when using Postgis Data<br>> 2. Rectangular Queries.<br>> 3. When using postgis data QuickZoom widget doesn't work too.
<br>> 4. Ruler widget didn't show the line again after >350 km when measure<br>> distance.<br>> Can someone give me the file?.<br>><br>> Regards,<br>><br>> Ilham Adi A.<br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Chameleon mailing list<br>> <a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/chameleon">
http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>--<br>Julien-Samuel Lacroix<br>Mapgears<br><a href="http://www.mapgears.com/">http://www.mapgears.com/</a><br></blockquote></div><br>