> How can I test that the xml file has been downloaded and processed
> into an array.  I've tried putting some test code in various places
> but it has always seemed ot trigger too soon and thus created an array
> error message to the effect that field is not there.

Try a different approach ; you don't need to test when the XML data is
available, because the code in the example already has a function that
is triggered after the XML data is ready.
Alll you need to do is add your own code into the section of the
example's code that gets data from the XML.

If you are really following this example
http://code.google.com/apis/maps/articles/phpsqlajax.html
it is for v2 of the maps API, and the relevant function is the
callback for GDownloadUrl()

If you are following the v3 example
http://code.google.com/apis/maps/articles/phpsqlajax_v3.html
it is the callback for downloadUrl()

-- 
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 [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-js-api-v3?hl=en.

Reply via email to