Hi, Working great now =)
The one thing I'm trying to work out, is how I can check when an openInfoWindowHtml is clicked to close it? When that happens, I need to clear the cookie (otherwise it will keep centering to the same point - even once its been closed by the user =)) I had a look around on google, but couldn't seem to find the right action to do this :( TIA Andy On Mar 18, 9:18 am, Rossko <[email protected]> wrote: > > ..but I'm strugging with how I actually get the content from the > > returned AJAX call? > > It's not about whether you used named functions or anonymous functions > in the callback, you've seized on the wrong thing. > > You cannot get the content from the AJAX call (in any normal > circumstance). If you want to do something with the content, do it > inside the callback function. If you want to do something after > you've processed the AJAX content, do it at the end of the callback. -- 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.
