Hi I have been following the mysql instructions at http://code.google.com/apis/maps/articles/phpsqlajax.html and all works well.
However, I want to use the array of data created as part of the process to populate a <div> separate from the map. What i think is happening is that the mapcode is returning to the main program immediately and my additional requests of the array of data are failing because the array is not populated yet from the xml file that is still downloading from the server. The map stuff all knows how to wait for data to be available, but I don't understand that code. 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. If I only trigger the code on a separate and later mouse event then it does wor. HB -- 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.
