OK, thanks to all who have tried to help me on this one. I finally had the time to just sit down and just examine my code and Marx Tseng's code on his map. By using Marx's map javascript code and rebuilding it to what I have (since his is built using my code from previous examples), I was able to set up the StreetView one step at a time putting code here and there to see if I can reproduce the same javascript errors that I'm getting on my page. Finally, I was able to reproduce the error and it all comes down to this StreetView method:
setVisible(false); For some reason, setting the streetview panorama to not be visible make a lot of functionality for the StreetView got whacky. Also, I find that if you hide a Div container, and not setVisible(true) for the StreetViewPanorama, the image behind the StreetView does not show up. So, you're left with a gray background with the zoom, pan, and other functionality working. It's not until you zoom out/in that you get the image of the street show up. Anyway, I'll upload the code on Monday, July 26th to show the working code with the comments to duplicate the errors. What I like explained is why setting the setVisible(false) gives such a headache and why setVisible(true) must be used every time, especially the way I coded my street view panorama functionality. (Note that I needed to code the streetview the way I did is because of AJAX calls for markers and infowindows, which are asynchonous calls to the web server.) -- 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.
