Please read and follow the posting guidelines:
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines

--
Marcelo - http://maps.forum.nu
--


On Apr 25, 10:19 am, TechIT <[email protected]> wrote:
> Hi,
> I implemented the MarkerManager sample from google's website (setting
> up weather icons marker). It works fine with my XML file. I loaded the
> XML file directly, i.e., without using GDownloadURL.
>
> However, when I changed the code to load the same xml file through
> GDownloadURL, the markers dont get displayed. I get an error "length
> is null or not an object". This error occurs when the below line is
> called:
>
>           mgr.addMarkers(getXMLData(10), 3);
>
> I noticed that even before the getXMLData() function is completely
> executed, the error occurs on the above line.
>
> I suspect it has something to do with asynchronous code execution of
> GDownloadURL. Is it so? What could be an alternative to make these two
> work synchronously?
--~--~---------~--~----~------------~-------~--~----~
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