More and more of our GM API code is based on conditional setTimeout calls.
I think Google should implement reliable "load" events for all that stuff... On 27 Nov., 16:19, Mike Williams <[EMAIL PROTECTED]> wrote: > Wasn't it George Antoniadis who wrote: > > > > >The snippet that Esa (thanks! :)) provided works indeed like a charm > >when executing it once the page has successfully finished loading. > > >Does anyone know if it can be bound to some map2 event in order to > >have it done automatically? > >the "load" event seems to be too soon to work. > > Unfortunately, the GLargeMapControl now resides in an external module. > External modules don't issue any event when they've completed loading. > The only thing you can do is to use setTimeout to wait for a while, like > the technique that used to work with GOverviewMapControl. > > See:http://econym.org.uk/gmap/modularized.htm > > --http://econym.org.uk/gmap > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
