On Sep 24, 12:06 pm, Jürgen <[EMAIL PROTECTED]> wrote:
> But then how do I know, when the data has been loaded?

Check every few miliseconds, until you give up:

// Call it with
checkData(0);

function checkData(attempt) {
  attempt++;
  if (typeof myData != 'undefined') {
    processData(myData);
  }
  else if (attempt < 10){
    window.setTimeout("function(){checkData(attempt)}",500);
  }
}

> Sorry for being slightly off topic, but I am stuck with my google maps
> application without it.

OK, my fault for answering in the first place. :-)


> Do you happen to know a better place to ask that javascript/JSON
> question?

http://groups.google.com/group/comp.lang.javascript/topics


--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to