> Thank you for the answer. Yes, I have considered that but how do I get
> the lat/lng-varaible outside the showAddress()-function?
<form id='userinput' ....>
<input type='hidden' id='bananas_lat' name=.....
....
... script where you have confirmed the location ...
document.getElementById("bananas_lat").value = result.Placemark
[0].Point.coordinates.[1] ;
....
.... when the user submits the rest of the form, the hidden values
get sent too
Untested ! beware getting lat/lon swapped over
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---