Your absolutely correct. Hadn't put the code in the right function for it to work. It apparently only works in the init function on closer inspection.
On Aug 26, 2:06 pm, Esa <[email protected]> wrote: > Adam Coppard wrote: > > I looked into using onCloseFn, both as a > > call when the marker was created, and as a standalone call, and also > > tried attaching an event listener, but that didn't work also. > > What do more exactly mean by "didn't work also"? I have on many of my > maps: > > GEvent.addListener(map, 'infowindowclose', function(){ > map.returnToSavedPosition(); > > }); > > It works. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
