You'll want to use the StreetViewService class. See http://code.google.com/apis/maps/documentation/javascript/reference.html#StreetViewService
Specifically, you'll use the getPanoramaByLocation method. Use the marker position as your location. One of the problems you'll likely encounter is creating a proper closure on your marker event listener. A search of these forums will give you the solution there. Chad Killingsworth On Oct 2, 7:23 am, duncanm <[email protected]> wrote: > I've managed to get this far: > > http://www.midwinterdesign.net/sample2.html > > I can create a link that changes the map to streetview, however It's > centered on the centre of the map, and not on each individual icon. > > Does anyone know what I must do to set each link to open at the lat - > long of each marker? > > Thanks, > > D. > > -- > > On Oct 1, 10:57 pm, duncanm <[email protected]> wrote: > > > > > > > > > Hi, > > > I have a map with the following structure: > > >http://www.midwinterdesign.net/sample.html > > > and I would like to add a <a> link into the info window of each marker > > that changes the map view to streetview centred on the marker (as if I > > had dragged the pin man icon on to the marker) > > > Is this possible? > > > I already have the following data for each icon: > > > pov: { > > heading: -127, > > pitch: 5.8, > > zoom: 0.5 } -- 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.
