[mapserver-users]: PHP/mapscript: Querybypoint->How tohighlight the selected record?

Peter blackmail at snafu.de
Tue Mar 26 12:18:17 EST 2002


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);
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020326/9103d28f/attachment.html


More information about the mapserver-users mailing list