In response to http://groups.google.com/group/Google-Maps-API/browse_thread/thread/8863f57e0904a221/2d9dae6b4b53be2a?lnk=gst&q=dynamic+loading+document.write+#2d9dae6b4b53be2a
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 -~----------~----~----~----~------~----~------~--~---
