1. You can only do that inside your gooInitialize(), or at some later 
time when you're certain that gooInitialize() has been performed.

If you just make those calls further down the same chunk of Javascript, 
then you fall foul of the asynchonicity, and execute that code before 
the API code fetch is complete.

2. var m = new google.maps.GMarker(pt); will fail with a similar error 
because "google.maps.Marker" is a constructor and "GMarker" is a 
constructor, but "google.maps.GMarker" isn't a constructor because it 
doesn't exist.

-- 
http://econym.googlepages.com/index.htm
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 Google-Maps-API@googlegroups.com
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