Hi all, I've a postgis query: # "SELECT site_name, Xmin(the_geom) AS xmin, Ymin(the_geom) AS ymin, Xmax(the_geom) AS xmax, Ymax(the_geom) AS ymax FROM site ;"
I create variables: # $site = pg_result($result, $x,"site_name"); # $xmin = pg_result($result, $x,"xmin"); # $ymin = pg_result($result, $x,"ymin"); # $xmax = pg_result($result, $x,"xmax"); # $ymax = pg_result($result, $x,"ymax"); and the bound: # $bound = $xmin . ", " . $ymin . ", " . $xmax . ", " . $ymax; I would like, clicking on the name of the site, the map was automatically centered on the value of the variable "bound". I don't know how pass this variable to openlayer. Thanks -beppe- _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
