Hi list, I have any problems about Gmap.<br>i have a routing aplication, like this:<br><?php<br>dl("php_mapscript.dll");<br><br>define("MAPFILE","../maps/routing.map");<br><br>$start=0;<br>$end=0;<br>$cx1=0;<br>$cy1=0;<br>$cx2=0;<br>$cy2=0;<br><br>if($HTTP_GET_VARS["start"])<br> $start=$HTTP_GET_VARS["start"];<br><br>if($HTTP_GET_VARS["end"])<br> $end=$HTTP_GET_VARS["end"];<br><br>if($HTTP_GET_VARS["cx1"])<br> $cx1=$HTTP_GET_VARS["cx1"];<br><br>if($HTTP_GET_VARS["cx2"])<br> $cx2=$HTTP_GET_VARS["cx2"];<br><br>if($HTTP_GET_VARS["cy1"])<br> $cy1=$HTTP_GET_VARS["cy1"];<br><br>if($HTTP_GET_VARS["cy2"])<br> $cy2=$HTTP_GET_VARS["cy2"];<br><br><br>$delta=0.01;<br><br>$map_file=MAPFILE;<br>$map=ms_newMapObj($map_file);<br><br>$l=$map->getLayerByName("network");<br>if($l) {<br> if($l && $start!=0 && $end!=0) {<br><br> if($cx1!=0 && $cy1!=0 && $cx2!=0 && $cy2!=0 &&
<br> $cx1!=$cx2 && $cy1!=$cy2) {<br> $minx = min($cx1,$cx2)-$delta;<br> $miny = min($cy1,$cy2)-$delta;<br> $maxx = max($cx1,$cx2)+$delta;<br> $maxy = max($cy1,$cy2)+$delta;<br><br> $map->setextent($minx,$miny,$maxx,$maxy);<br><br> $rectobj = $map->extent;<br> $ll_x = $rectobj->minx;<br> $ll_y = $rectobj->miny;<br> $ur_x = $rectobj->maxx;<br> $ur_y = $rectobj->maxy;<br> <br> $sql="the_geom from (select gid, the_geom from "."shortest_path_astar2_as_geometry_internal_id_directed('tercepat', ".$start.", ".$end.", ".$ll_x.", ".$ll_y.", ".$ur_x.",
".$ur_y.", false, true)) as g using unique gid using SRID=-1";<br><br> $l->set('data', $sql);<br> $l->set('status', MS_ON);<br> <br> }<br> }<br> else {<br> $l->set('status', MS_OFF);<br> }<br>}<br>$image=$map->draw();<br>$image_url=$image->saveWebImage();<br><br>?><br><br>I put into Gmap template in gmap75.phtml, why the result of this doesn't come up in map display? but actually the case appear in tmp folder..<br><br>Regards,<br><br>Ari Sutanto<p> 
<hr size="1"><FONT face=Arial size=-1>Bergabunglah dengan orang-orang yang berwawasan, di bidang Anda di <A href="http://sg.rd.yahoo.com/mail/id/footer/def/*http://id.answers.yahoo.com/">Yahoo! Answers</A></FONT>