<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi, I'm tryng to display the coordinates on mouse over the map, on a
WGS84 map and on a Gauss-Boaga map but coordinate seems strange to
me, is there some error? I'm using the example bellow:<br>
<br>
This is the <a
href="http://www.intornoamessina.it/tracking/index.php">WGS84 map</a>
and this is the <a
href="http://www.intornoamessina.it/tracking/index.php?gauss">Gauss-Boaga
Map</a><br>
<br>
And this is the <b>example code</b> I used:<br>
<br>
map.addControl(<br>
new OpenLayers.Control.MousePosition({<br>
prefix: '<div style=\"color: green;
font-size: 14px; font-weight: bold; background-color: white; width:
500px; text-align: left;\">Coordinate: ',<br>
suffix: '</div>',<br>
separator: ' | ',<br>
numDigits: 2,<br>
emptyString: '<div style=\"color: red;
font-size: 14px; font-weight: bold; background-color: white; width:
500px; text-align: left;\">Mouse non sulla mappa.</div>'<br>
})<br>
);<br>
map.events.register("mousemove", map, function(e) {<br>
var position = this.events.getMousePosition(e);<br>
OpenLayers.Util.getElement("coords").innerHTML =
position;<br>
});<br>
map.addControl(new OpenLayers.Control.Attribution());<br>
<br>
<b>Thanks</b><b><br>
</b><b>Valerio</b><br>
</body>
</html>