Hi I sort of knew that was the thing to do, but my efforts this morning just did not work out. With this encouragement i returned to the code and now it works thanks
On Jul 7, 11:56 am, Rossko <[email protected]> wrote: > > 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 > examplehttp://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 > examplehttp://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.
