GDownloadUrl is asynchronous.

You try to reference cells.id immediately after sending the request.

You assign a value to cells.id in the callback function when the reply 
comes back, but by then it's too late.

You need to arrange for everything that needs the cells.id information 
to be called from inside the callback function.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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