On Jun 29, 12:23 pm, Lee <[email protected]> wrote: > I would like to navigate Google Streetview but using commands as > opposed to using a mouse. Is this possible using the API?
Yes. Each StreetviewPanorama has an associated StreetviewData object, containing a Links[] array of adjacent panoramas. Find the identity of the adjacent panorama, SVD.Links[0].panoId, then display that panorama http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GStreetviewClient.getPanoramaById Note that this probably won't smoothly navigate the view from one location to another: you are simply telling it to display another panorama. My code at http://www.acleach.me.uk/gmaps/streetview-infow2.htm uses SVD.Links[0] to find the next panorama in order that it can face the side of the street rather than along it (perpendicular to the bearing from A to B) but it might give you some ideas. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
