Try something like:
google.maps.event.addListener(marker, 'click', function() {
if (panorama.getVisible()) {
infowindow.open(panorama, marker);
} else {
infowindow.open(map, marker);
}
});
--
You received this message because you are subscribed to the Google Groups
"Google Maps Ja
Having trouble getting InfoWindows to behave correctly
( subjective ;-)
http://vicinitysolutions.cerebrateaquarium.com/map3Test.html
I want the infowindows to appear when either in map-view or street-
view.
In the link above two of the placemarks, the two left ones, the
infowindow open in map-vie