We are developing an application where we need to simulate the
controls provided by Street View with calls to the Maps API. One of
the things we need to do is getting the next Panorama, the next link,
as if pressing the Up keyboard key, to move forwards.

We are using the V3 Javascript API. We've tried the getLinks() method
which returns an array of Street View links. However, we do not know
which one is the link that will be followed if moving forwards
(pressing the Up key). How can we know the index of the link that
follows, in the current direction? Or, how can we run the same code
that Google uses for the Up keyboard shortcut from within the API?

We need to solve it through the Maps API, not by simulating a key
press.

Any help will be appreciated, thanks!

-- 
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.

Reply via email to