Getting closer - the following code displays the streetview in the tab
on all but the first instance.  Any idea why the domready doesn't work
here and what I can do about it?

    google.maps.event.addListener(marker, "click", function() {
      if (infowindow) infowindow.close();
      infowindow = new google.maps.InfoWindow({content: text});
      infowindow.open(map, marker);
              var panoramaOptions = {
              position: marker.position
              };
      var panorama = new
google.maps.StreetViewPanorama(document.getElementById("pano"),panoramaOptions);

      google.maps.event.addListener(infowindow, 'domready', function()
{
            map.setStreetView(panorama);
            $(".tabs").tabs();
      });
    });

On Jun 14, 5:22 am, finco <[email protected]> wrote:
> the link ishttp://www.keypointpartners.com/test/mab/fromxml.html
>
> I have adjusted the listener and now the tabs appear on the first
> instance of the infowindow but now the streetviw does not render
> (first instance or otherwise).
>
> The listener has been adjusted to:
>
>     google.maps.event.addListener(marker, "click", function() {
>       if (infowindow) infowindow.close();
>       infowindow = new google.maps.InfoWindow({content: text});
>       infowindow.open(map, marker);
>
>       google.maps.event.addListener(infowindow, 'domready', function()
> {
>             var panoramaOptions = {
>               position: marker.position
>               };
>             var panorama = new
> google.maps.StreetViewPanorama(document.getElementById("pano"),panoramaOptions);
>             map.setStreetView(panorama);
>             //alert(panorama.position);
>              $(".tabs").tabs();
>       });
>     });
>
> Thanks.
>
> On Jun 13, 8:28 pm, Ralph Ames <[email protected]> wrote:
>
> > Have you got a link to your map?
>
> > Ralph
> > -www.easypagez.com/maps/map_index.htmlwww.easypagez.com/maps/v3_basicm...
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.

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