Hi Rossko,

1. I have put the mymarkerclusterer line within the mjdDownloadUrl
callback function as you suggested, and it works now (i have not
updated the test URL)! Thanks!
2. I still don't understand why the original code was failing, the
variables were filled in whilst debugging it but still the code
failed. What are the best ways to debugthis asynchronous code and
really debug what is happening?




On Mar 13, 2:03 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
> > 4. At the end:
> >   // Creating a MarkerClusterer object and adding the markers array to
> > it.
> >   var mymarkerclusterer = new MarkerClusterer( mymap,
> > mymarkersforclustering );
>
> But it's not at the end of the loop, it is outside your XML callback.
> It will get excuted while the array is still empty, before the XML
> data has returned

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to