On Jun 23, 11:40 pm, Marcelo <[email protected]> wrote: > On Jun 24, 12:18 am, Donovan Walker <[email protected]> wrote: > > No. This is the **Ajax** loader! > You don't load the Maps API with the <script> tag. That tag loads the > **Ajax loader**. After doing that, you still have to tell the loader > to load the **maps API** and wait for it to be fully loaded, otherwise > the maps functionality is not there.
I think we all understand that, actually, but I'm not sure that you actually understand the problem we're trying to explain. > > I'd call this a rather serious issue with the loader and the maps > > lib. > > Examples belowhttp://dev.y2g.org/?page=preDOM > >http://dev.y2g.org/?page=postDOM > > You have two script tags in that 'postDOM' page, but in any case, > there's no issue here. As mentioned in my earlier post, the > documentation shows you exactly how to do it. I take it the second script tag is simply an oversight, but his examples with the spurious second script tag still demonstrate exactly what I also saw. As we both have found, if you run google.load( 'maps', '2' ) after the DOM has loaded, the entire body is killed, and you're left with just a head. Yet there is no reason why this should be so, either logically or that I could see in the documentation, while there may be very good reasons for deferring loading the API, say because the page would then display quicker, or because there is no point in loading the API until the user clicks a button to draw a map. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
