On Nov 9, 8:03 am, Jurgis Stepanovs <jurgis.stepan...@gmail.com> wrote: > Hi, everybody! > > I'm trying to create and then load info window contents from MySQL > DB on marker click, but there is problem, that data retrieves after some > time dalay.
Why is that a problem? There is a call back function that executes when the data comes back. > JavaScript execution continues and when I assign InfoWindow contents: > someDBVarString;, someDBVarString is empty because data not retrieved from DB > yet. > > What may be solution here? Do that in the call back function when the data is available. -- Larry > > Jurgis -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.