It would be a lot easier if you would follow the posting guidelines, and 
provide a link to your page, however I suspect that you're attempting to 
create the GControl before the Maps API fetch has completed.

If you insist on calling the API dynamically, you have to put everything 
that uses it inside functions that can only be called after it has 
loaded. In this case, putting the creation of your GControl into a 
function, and calling that function from inside your initialize() 
function.


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

Reply via email to