Hello.<br>&nbsp;<br>I'm just wondering is it possible to do the following using ka-map : <br><br>- Highlight a polygon on a map that has already been drawn.<br><br>So I have a mapfile with the following<br><br>LAYER #start of "school regions"<br>&nbsp;&nbsp; NAME "school regions"<br>&nbsp;&nbsp; DATA PrimarySchool_region <br>&nbsp;&nbsp; STATUS DEFAULT<br>&nbsp;&nbsp; TYPE POLYGON<br><br>&nbsp;&nbsp; CLASSITEM "CODE"<br><br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "highlighted"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "3"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 50 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; END<br><br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp; NAME "default"<br>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 238 230 133 <br>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; END<br><br>&nbsp; END<br><br>I want to select an id number from a select box and then
 change the value of the expression in the "highlighted" class so that the polygon corresponding to the selected id is highlighted.<br><br>So I do a <br>&nbsp;&nbsp;&nbsp; call(myKaMap.server+'/setExpression.php?l='+layer+'&amp;c='+classname+'&amp;e='+exp,this,this.updateMap);<br><br>when I click on the select box.<br><br>&nbsp;setExpression.php looks like this <br><br>$oLayer = $oMap-&gt;getLayerByName($myLayerName);<br><br>for ($i=0; $i&lt;$oLayer-&gt;numclasses; $i++)<br>{<br>&nbsp;&nbsp;&nbsp; $oClass = $oLayer-&gt;getClass($i);<br>&nbsp;&nbsp;&nbsp; if ( $oClass-&gt;name == $myClassName )<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;$oClass-&gt;setExpression($myExpression);<br>&nbsp;&nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br><br>and this is where I'm stuck. <br><br>How can I tell ka-map to redraw the tiles reflecting the changes in the mapfile?<br><br>Do I have to actually write a new mapfile on the server and then point to
 that?<br><br>Thanks.<br><br>D.<br><br><p>&#32;Send instant messages to your online friends http://uk.messenger.yahoo.com