I'm using a couple of functions to read markers and polylines from xml files and would like to be able to open the map with a set of xml files pre defined and displayed by passing a variable in the url.
This var starting = location.search.substring(1); if (starting > 1000) { // alert (starting); setTimeout ("startingLocations(starting)",1000); } works with this url http://crmap.com/displayMarkers.html?6000 but only with the timeout which seems kind of kludgey and flashes the map before loading and displaying the markers and lines. I'm hoping someone will point me in the right direction to a more elegant solution that would actually check to see if the script is ready to load the markers or not (rather than just waiting a while and hoping) and that wouldn't actually draw the map until it was ready to load the markers and lines. Thanks Ray --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---