On Jun 23, 6:54 pm, Donovan Walker <[email protected]> wrote: > A (much) simpler demohttp://dev.y2g.org/?page=map_1
You're calling google.load() before you load the API script. If you use the callback function google.setOnLoadCallback(), (as shown in the documentation), then nobody gets killed. ;-) http://maps.forum.nu/temp/gm_api_vs_dom.html -- Marcelo - http://maps.forum.nu -- > > Arrived at this demo by > going through the old one and stripping out first all code not needed > to launch the map, (including jQuery and all other libs) > simplified the html a bit. Moved map to just under the body tag > removed all stylesheets > removed all non-essential html. > > Can anyone give me some pointers here? > > FYI, the link from my previous post ATM is just like this one. > > Marcelo - It occurs to me, do you use source from > "http://www.google.com/jsapi?" or are you using the older "http:// > maps.google.com/maps?" > > On Jun 23, 11:10 am, Marcelo <[email protected]> wrote: > > > On Jun 23, 5:56 pm, Donovan Walker <[email protected]> wrote: > > > > Please help! :) > > > You need to come up with a simpler demonstrator than that. > > It has never happened to me that the DOM tree was destroyed by loading > > the API, and your page loads lots of other scripts, including jQuery > > and Analytics. > > Try making a simple demo in a separate page, which just loads the API > > and see if the DOM tree is still there. Chances are that the problem > > is elsewhere, or that it is produced by some clash between the many > > libraries that you are loading. > > > Also, while putting together a simpler demo, you might find the > > problem by yourself. > > > -- > > Marcelo -http://maps.forum.nu > > -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
