<div>Hi </div>
<div>&nbsp;</div>
<div>a similar problem ... </div>
<div>&nbsp;</div>
<div>I want to know the img_x and img_y&nbsp; for a corresponding MAPLON, MAPLAT....</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>sandeep</div>
<div>&nbsp;<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/6/06, <b class="gmail_sendername">Pietro Giannini</b> &lt;<a href="mailto:pgiannini@bytewise.it">pgiannini@bytewise.it</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi list,<br><br>a simple question:<br>in php and mapscript 4.8.3, how can I get the map coordinates of the mouse
<br>click?<br><br>Via the php variables (_POST or _GET), a clik on the map image can only<br>return a couple of PIXEL coordinates (e.g $_GET['img_x'] and<br>$_GET['img_y'], where &quot;img&quot; is the name of image input on the html form).
<br>MAPLON and MAPLAT (cgi variables) are the lon and lat coords of the<br>clicked point, but I don't know how to read this variables in the<br>php/mapscript environment.<br><br>Any help?<br><br>___________________________
<br>&nbsp;&nbsp;&nbsp;&nbsp; Pietro Giannini<br>Bytewise srl - Area GIS<br>41°50'38.58&quot;N 12°29'13.39&quot;E<br></blockquote></div><br>