> All your variables are local in scope to a function, including 'map'. 'map' is global since it's created in the parent function. And, sometimes, it works !
> Usually your main function will have finished, and javasvcript access to 'map' will have been destroyed, before the XML data is returned. So how can I wait for map initialization functions to finish before I display the markers ? -- 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.
