Couple of things that may influence you;
InfoWindows take time to construct, it happens asynchronously while
your code continuues to run.
So if you open an infowindow and immediately document.getElementById
("some_div_intheinfowindow") you might not get what you expect,
behaviour will differ among browsers.
Get-rounds could be a small delay, or pre-create the <div> off-stage
and append it to the infowindow when required.
I actually saw your map in FF2, and it exhibits classic "top left
corner" syndrome. When you tell the API to render a GMap2 in a div,
it all goes wrong if the div size isn't well defined. There's various
get-rounds for that if you search the group for 'top left corner', the
most appropriate one here is probably specifying the size in the GMap2
call itself.
For the click listeners piling up, don't forget there is only one
infowindow which gets reassigned in turn as markers are clicked.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---