Hi Frank,<br><br>Thank you for your help, but the problem isn't registering the listener, but the argument IE is passing to it. The object with which the showCoords function is invoked seems to null, so the .xy property generates an error.<br>
<br>Thanks,<br><br>Luís<br> <br><br><div class="gmail_quote">On Tue, May 25, 2010 at 12:17 PM, Frank Broniewski <span dir="ltr"><<a href="mailto:brfr@metrico.lu">brfr@metrico.lu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I use<br>
map = new OpenLayers.Map(map_div);<br>
...<br>
map.events.register("click", map, showCoords);<br>
<br>
where showCoords the function for display is. Alternatively see<br>
<a href="http://dev.openlayers.org/releases/OpenLayers-2.9.1/examples/events.html" target="_blank">http://dev.openlayers.org/releases/OpenLayers-2.9.1/examples/events.html</a><br>
for an alternate example<br>
<br>
<br>
Frank<br>
<div><div></div><br></div></blockquote></div>