> On my site (http://iwps.poetryslam.com/index.php?
> option=com_content&view=article&id=25&Itemid=44) I got the following
...
> As a result, I de-installed the AJAX API because I am afraid  other
> functions will also unexpectedly not work.  Has anyone else had
> problems with it?

Can only guess without the actual failing example ...

But guessing, your map-building function is kicked off by a window
onload event.
When you use the AJAX loader, you've opted to allow the maps API
script to be lazy-loaded and it usually won't be available until some
time after the browser has had its onload event.
So your map-building routine will be trying to execute API functions
that don't yet exist.

When you use the AJAX loader, don't try to use the API before it is
ready ...
The documentation does include a good approach at
    http://code.google.com/apis/maps/documentation/#AJAX_Loader
but it isn't crystal-clear.
It sets up the window onload to set up another listener in turn, for
the API onload, which finally calls your custom map-building function
after both events have happened.

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