Of course, why remap document.write when you can just suffix the script URL with "&async=2" *sob* Hope it helps somebody else looking for this.
On 12 mrt, 20:38, qFox <[email protected]> wrote: > In response > tohttp://groups.google.com/group/Google-Maps-API/browse_thread/thread/8... > > It cost me a few hours to get to the bottom of it. After not finding > anything here (not searching for the right terms) I debugged some more > and finally narrowed the main problem down to a document.write I > hadn't spotted before. > > So instead of the "fix" which requires a global callback, you can also > redefine document.write. Face it, document.write should be bannished. > > I wonder why the API can't load itself up on demand or by DOM events. > I'm sure there is a downside, but on the plusside documents load > faster (no explicit waiting for the API front to load), lighter pages > by default and google saves bandwidth. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
