> Thanks, but how can I solve this?

If you want to zoom and centre on the data from GDownloadUrl, you have
to wait until it is available.  Usually that's done using the callback
function, which is exactly what your code snippet does for placing the
markers.   Have a guess where you want to put your zoom/center code.

Note that the return from your GDownloadUrl doesn't do anything
useful ; because it's asynchronous, nobody is waiting for that data
when it does eventually return.  The code in your initialize()
function has long ago finished, using empty 'batch' and 'bounds'.

cheers, Ross K

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