The easiest thing to do is to use marker.openInfoWindowHtml instead of 
bindInfoWindowHtml, and when you perform marler.setLatLng, remember if 
it's open and if so re-open it on the marker.

Set a flag whenever you open the info window, listen for 
"infowindowclose" events and clear the flag. Use the flag to remember 
whether the infowindow is open or closed.

The undocumented infowindow.reposition() Method got deleted in 
APIv2.135.

It is theoretically possible to reposition it with 
infowindow.reset(latlng,tabs,size), but that's awkward to use because 
the API will not automatically calculate the size for you. (The 
documentation is misleading. It should say "Each OPTIONAL argument may 
be null ...")

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to