Hmm, I'm not entirely sure how to solve this problem or what you mean
by using the asynchronous data within its callback function. Any hints
on where to begin ?

I believe I understand that the initialize function finishes up, but
how can I get it to not skip over the marker manager and send in
blanks?

Thanks in advance for your responses.

On Dec 11, 3:01 pm, Rossko <[email protected]> wrote:
> > Added in the code for the custom icon to both pages and it made no
> > difference.. also added in code to split the downloading of tiles over
> > 5 domains to make it faster Larry.
>
> GDownloadUrl is asynchronous.  When you call it, it sends the request
> for your XML.
> Javascript execution does not stop, and your code carries on to
> eventually add empty marker arrays to MarkerManager.
> Much later on, your XML data returns and the arrays are populated, but
> these are never added to MarkerManager because your initialize()
> function finished long ago.
> You must use asynchronous data within its callback function.

--

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