Wasn't it bratliff who wrote: > >On Oct 25, 10:46 am, Jürgen <[EMAIL PROTECTED]> wrote: >> Well thanks. But credits go to marcelo for his help :-) >> >> For cross domain use the "On Demand Javascript"-aproach is awesome. >> However, one drawback is that you don't receive a response code like >> the one you get with GDownloadUrl. Here you just have to sit and wait >> until (some predefined) time is up before you can decide to display an >> error message or whatever you want to do in this case. > >It can be done with event handlers. For Internet Explorer, use >"onreadystatechange". For Firefox & others, use "onload" / "onerror".
You can add a line like GEvent.trigger(map, "DataLoaded"); at the end of the JS file that gets loaded. -- 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 -~----------~----~----~----~------~----~------~--~---
