<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
hello<br>
<br>
Despite all my&nbsp; efforts, I can not correctly convert image coordinates
to geographic coordinates (UTM).<br>
&nbsp;what might&nbsp; the javascript code be ?<br>
<br>
here is my code:<br>
&nbsp;&nbsp; <small>x_pct = (evt.clientX / width);<br>
&nbsp;&nbsp;&nbsp; y_pct = 1 - (evt.clientY / height);<br>
&nbsp;&nbsp;&nbsp; x_map = ext0 + ( (ext2 - ext0) * x_pct);<br>
&nbsp;&nbsp;&nbsp; y_map = ext1+ ( (ext3 - ext1) *&nbsp; y_pct);<br>
<br>
<br>
<big>thanks in advance<br>
<br>
Ahmet Temiz<br>
</big></small>
<BR><PRE>

______________________________________
Inflex - installed on mailserver for domain @deprem.gov.tr
Queries to: postmaster@deprem.gov.tr

______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.

Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.

</pre><BR></body>
</html>