[mapserver-users]: PHP/mapscript: Querybypoint->How tohighlight the selected record?
Peter
blackmail@snafu.de
Tue, 26 Mar 2002 18:18:17 +0100
--------------080805010702040606050400
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
This one is running &working, but now the highlighting : How to do it?
$theresult = $resultlayer -> getResult (0);
$shapefile = ms_newShapefileObj ('C:\Programme\Apache
Group\Apache\htdocs\immogis3w\code\data\objekte', -1);
$resultshape = $shapefile -> getShape ($theresult -> shapeindex);
$resultbounds = $resultshape -> bounds;
/* Zoom to Extents */
$map -> setExtent ($resultbounds -> minx-80, $resultbounds ->
miny-80,$resultbounds -> maxx+80, $resultbounds -> maxy+80);
--------------080805010702040606050400
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html>
<head>
</head>
<body>
This one is running &working, but now the highlighting : How to do it?<br>
<br>
<i>$theresult = $resultlayer -> getResult (0);<br>
$shapefile = ms_newShapefileObj ('<a class="moz-txt-link-freetext" href="C:\Programme\Apache">C:\Programme\Apache</a> Group\Apache\htdocs\immogis3w\code\data\objekte',
-1);<br>
$resultshape = $shapefile -> getShape ($theresult -> shapeindex);<br>
$resultbounds = $resultshape -> bounds;<br>
<br>
/* Zoom to Extents */<br>
$map -> setExtent ($resultbounds -> minx-80, $resultbounds ->
miny-80,$resultbounds -> maxx+80, $resultbounds -> maxy+80);</i><br>
</body>
</html>
--------------080805010702040606050400--