What your code does now:

Fires a request for data, sets up a callback to handle the data.
Attempts to add the data to clusterer - fails, it doesn't exist yet.
Data arrives - callback runs and makes markers.

What your code could do:

Fires a request for data, sets up a callback to handle the data.
Data arrives - callback runs and makes markers, when all the markers
have been created they are added to clusterer, all within the same
callback.

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