Hi Dave,

We don't have seamless integration for Info Windows into Street View
like we do for markers.  Would you file a feature request (http://
code.google.com/p/gmaps-api-issues/issues/entry?template=Maps%20API
%20v3%20-%20Feature%20Request)?

What I would recommend doing is in your click handler, get the Maps's
StreetViewPanorama and check if it is visible.  If it's visible, then
pass the panorama to the InfoWindow's open instead of the map.
Something like this:

    var panorama = map.getStreetView();
    google.maps.event.addListener(marker, 'click', function() {
      if (panorama.getVisible()) {
        infowindow.open(panorama, marker);
      } else {
        infowindow.open(map, marker);
      }
    });

Hope this helps!
Susannah

On Oct 14, 8:54 am, DaveSawers <[email protected]> wrote:
> On my map, I have markers for various businesses.  When clicked on, an
> info window pops up with some information about that business.
>
> If I then switch to street view, the markers are still displayed
> (which is really neat) but clicking on the markers does not bring up
> the info window.
>
> Do I need to do anything special to get this effect?
>
> Page in question can be seen at:http://braggcreekshopping.com/map.php

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to