<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5764" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>Whats the easiest 
way to capture coords on click?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=328104619-15062009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>My 
Usage:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>I have a form with a 
location textfield.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>a button next to the 
field will allow a user to (once clicked) click on the map to fill the textfield 
with a lat, long ,alt.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>Alt will default to 
0.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=328104619-15062009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>I'm thinking i need 
to register and unregister a temporary click event,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>but I figured I'd 
ask how others have done this before I start digging into 
it.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=328104619-15062009>Being able to cancel 
with esc would be nice too, but not nessassary.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=328104619-15062009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=328104619-15062009>Options?</SPAN></FONT></DIV></BODY></HTML>