Hi
 
a similar problem ...
 
I want to know the img_x and img_y  for a corresponding MAPLON, MAPLAT....
 
Thanks
sandeep
 

 
On 10/6/06, Pietro Giannini <[EMAIL PROTECTED]> wrote:
Hi list,

a simple question:
in php and mapscript 4.8.3, how can I get the map coordinates of the mouse
click?

Via the php variables (_POST or _GET), a clik on the map image can only
return a couple of PIXEL coordinates (e.g $_GET['img_x'] and
$_GET['img_y'], where "img" is the name of image input on the html form).
MAPLON and MAPLAT (cgi variables) are the lon and lat coords of the
clicked point, but I don't know how to read this variables in the
php/mapscript environment.

Any help?

___________________________
     Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E

Reply via email to