I don't have Flash, so I am unable to see StreetView, but the problem
seems to be that when the line executes,

var panorama = new GStreetviewPanorama(document.getElementById
("pano"));

the div with id='pano' has not yet been created, and this is because
the infoWindow module has to be loaded.

Try adding
map.getInfoWindow();

just after map.setCenter(), so that the infoWindow module is
loaded,and it is ready by the time you actuallytry to open the first
infoWindow.

--
Marcelo - http://maps.forum.nu
--




On Nov 21, 1:18 pm, wallas <[EMAIL PROTECTED]> wrote:
> Alright
>
> here is a link to a small demo of my 
> code:http://www-scf.usc.edu/~alsadah/wallas/testing/demos/demo.htm
>
> As I stated earlier, the problem is that the street view tab is only
> available on a second click of any maker. The first click gives a
> blank street view tab.
>
>  Thanks in advance for your help.
--~--~---------~--~----~------------~-------~--~----~
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