Hi Valerio,

yes, each query return the coordinate of the point or selection on the map.
you can retrieve the data from the handleHttpPostRequest ( or 
filterPostRequest, depending what you want to do with the values)
the variable name is "selection_coords"

for exemple, in handleHttpPostRequest :

if (isset($request['selection_coords']) {
    $this->coordinates = $request['selection_coords'];
}

or in filterPostRequest :

if ($request->getValue('selection_coords') && 
!empty($request->getValue('selection_coords'))) {
    this->coordinates = $request->getValue('selection_coords');
}

the coordinates are a string like this 'x,y' for point or 
'xmin,ymin;xmax,ymax;...' for box

regards
Oliver
  ----- Original Message ----- 
  From: Valerio Noti 
  To: [email protected] 
  Sent: Wednesday, February 07, 2007 3:23 PM
  Subject: [Cartoweb-users] retrieve map coordinates with query tool


  hello,
  is it possible to retrieve map coordinates where user clicked with query tool?

  Thanks in advance

  Valerio


  /*
  Valerio Noti
  [EMAIL PROTECTED]
  */


------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  [email protected]
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to