If you look at that post I linked, Mark was describing how to use the streetview webservice to get the nearest panorama to a given location. Once you have that, you can call setPov on the pano to change the direction. Then you'll manually call map.setStreetView to display the panorama. The process is a lot more manual than the default behavior.
Chad Killingsworth On Jun 5, 8:54 pm, AlexR <[email protected]> wrote: > Unfortunately, I seem to be having trouble unpicking and extracting > the pertinent info/code from the examples given! :*/ > > Ideally, I'd like to allow the user to control the direction that the > Peg Man drops, ie. the opening panorama - is that possible? > > Again, apologies for my ineptitude and thanks for all the help given > so far! > > On Jun 6, 1:03 am, Chad Killingsworth > > > > <[email protected]> wrote: > > By face, do you mean that the panorama that opens would face a > > direction other than North? If so, take a look > > athttp://groups.google.com/group/google-maps-js-api-v3/browse_thread/th... > > > Chad Killingsworth > > > On Jun 5, 2:58 pm, AlexR <[email protected]> wrote: > > > > Hi folks! This is my first foray into Google Maps API and I seem to be > > > making a right hash of it! I've managed to create a basic map with > > > place-marker and info window. I've enabled Street View, but can't seem > > > to get the Peg Man to face anywhere but North. I sense this is where > > > StreetViewPov comes in, but I can't seem to get my head around it. > > > > Here's the link to my rather sorry looking > > > map:http://www.livenirvana.com/sessions/map_experiment.html > > > > Hope you can help! :*) -- 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.
