hi, i just did this yesterday like this (thanks crschmidt) :<br><br>OpenLayers.Event.observe($('map'),"click",mapclicked.bindAsEventListener(map)); <br>function mapclicked(e){<br> var LL = this.getLonLatFromPixel
(e.xy)<br> //console.debug(LL)<br> alert(LL.lon + "," + LL.lat)<br>}<br><br><br><br><div><span class="gmail_quote">On 11/18/06, <b class="gmail_sendername">Christian López Espínola</b> <
<a href="mailto:penyaskito@gmail.com">penyaskito@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href="http://openlayers.org/dev/examples/controls.html">
http://openlayers.org/dev/examples/controls.html</a><br><br>On 11/15/06, Jacopo Boari <<a href="mailto:jacopo.boari@sysgroup.it">jacopo.boari@sysgroup.it</a>> wrote:<br>><br>><br>><br>><br>> Hi Everybody,
<br>><br>><br>><br>> How can I retrive the cursor's position in the map?<br>><br>><br>><br>> There's a method that return the coordinates?<br>><br>><br>><br>> Thanks in advance<br>><br>
><br>><br>><br>><br>> Jacopo Boari<br>><br>> Sysgroup srl - Lungo Dora Colletta 113/14 - 10153 Torino<br>> tel 0112440983 fax 0112406561<br>> e-mail <a href="mailto:jacopo.boari@sysgroup.it">
jacopo.boari@sysgroup.it</a> <a href="http://www.sysgroup.it">www.sysgroup.it</a><br>><br>><br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@openlayers.org">
Users@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>><br>><br>><br><br><br>--<br>Christian López Espínola<br>_______________________________________________
<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div><br>