I have looked at several similar questions and the answers, but I'm
still not understanding.
I have 3 XML files of lines/points, one for each of 3 separate maps.
Each map is working fine. Now I want to create a single map and load &
display the 3 files on a single map.
Can I have 3 concurrent GDownloadUrl() running like this:
GDownloadUrl("file1.xml",show1);
GDownloadUrl("file2.xml",show2);
GDownloadUrl("file3.xml",show3);
where each of the show<1 2 3> functions processes a different file and
keeps all variables in 3 separate namespaces.
Even if that was possible, I would actually prefer to serialize this -
to download and process each of the 3 files in turn. But I don't see
how to do that.
I considered looping through a list of file<1 2 3>.xml, calling
GDownloadUrl() for each one in turn, but how do you wait for one to
complete before doing the next one?
This must be a common thing that everybody wants to do, because it's
limiting having only a single XML file for each map. However I can't
find much in the documentation or in the discussions.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---