Re: [Google Maps API v3] StreetView in v3

2010-06-14 Thread Nathan Raley
I don't set the street view position at creation because I later feed in the center position before displaying the street view. I show an overlay of the street view like we used to have in version 2 of the api and when the user clicks on an overlay position I set the center. What I have now is th

Re: [Google Maps API v3] StreetView in v3

2010-06-11 Thread Marc Ridey
I don't see where you are setting the map center. I'm guessing tempPosition is null when it's passed to StreetViewPanorama. Can you explain what behavior you are trying to achieve. Thanks On Sat, Jun 12, 2010 at 12:37 AM, Nathan Raley wrote: > I am trying to add a street view in my program as I

[Google Maps API v3] StreetView in v3

2010-06-11 Thread Nathan Raley
I am trying to add a street view in my program as I am migrating from v2 to v3. I have the following set up in my initialize function that runs after the page is loaded: map = new google.maps.Map(document.getElementById("map"), mapOptions); //{ googleBarOptions : { style : "new"} }); DistanceTex