<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Stefan,<br>
you can try this java script (from who? I do not remember):<br>
Hope it helps.<br>
Roger<br>
<br>
public void mouseMoved(MouseEvent e) {<br>
String msg;<br>
xover = e.getX();<br>
yover = e.getY();<br>
thex = (thecurxmin + (xover * ((thecurxmax -
thecurxmin)/Applet_Width)));<br>
they = (thecurymin - (yover * ((thecurymax -
thecurymin)/Applet_Height)));<br>
String xs = String.valueOf(thex).toString();<br>
String ys = String.valueOf(they).toString(); <br>
msg = "Coordinate: " + xs + " E " + ys + " N";<br>
showStatus(msg); // function to display where you want.<br>
}<br>
<br>
<br>
<br>
Stefan Schwarzer wrote:<br>
<blockquote cite="midfb7c8e5798c3a1d82ca56a80ea80a017@grid.unep.ch"
type="cite">Hi,
<br>
<br>
I would like to display the coordinates in a corner of the map, when a
user moves the mouse over it. Is there any Javascript (or Java) code
out there that would do this?
<br>
<br>
Thanks for any suggestions.
<br>
<br>
Stef
<br>
<br>
<br>
<br>
_______________________________________
<br>
<br>
<tt><font size="-1"><font size="-1"><font size="-1"> <b>Stefan
Schwarzer
<br>
</b> GIS & Data Management
<br>
<br>
UNEP/DEWA/GRID-Geneva
<br>
Chemin des Anemones 11
<br>
CH - 1219 Chatelaine
<br>
Switzerland
<br>
<br>
Tel: (+41) 22.917.83.49
<br>
Fax: (+41) 22.917.80.29
<br>
<br>
Internet:
<!-- 0000,0000,EEEE --><a class="moz-txt-link-freetext" href="http://geodata.grid.unep.ch/">http://geodata.grid.unep.ch/</a>
<br>
</font></font></font></tt> _______________________________________
<br>
</blockquote>
</body>
</html>