Because the geocoder is asynchronous, your "test2" and "test3" messages
are being written after the </html> has been processed.
If you're using this for debugging, use
GLog.write('test2');
If you want to display a message to the end user, prepare a HTML element
where you want the text to be displayed, and update its innerHTML
<div id="message"></div>
...
document.getElementById("message").innerHTML += 'test2';
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---