> > sorry,the coeds i have posted there is something wrong.

'map' isn't defined until after initial() is run.
initial() doesn't run until page load is complete (<body onload=...)
When does code in your test.js get executed?  Hint: when you tell it
to run, probably long before page load is complete.

You could put that code in your initial() as well.

cheers, Ross K

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to