tags:

views:

848

answers:

1

How can I put a Street View button on a fairly typical Google Map so that it is inline with the standard Map/Satellite/Hybrid buttons in the top right corner? I've seen one example of this that I can't find any longer. So, I know it's possible.

+1  A: 

The Street View service from Google is quite well detailed on their google map API page here, and they provide a quite good example

You can also have a look in the source code of this page, there is the script you're looking for (but there is not so much details...)

ThibThib
Looks like the dev wanted to turn this code into a utility library, but didn't get any interest (http://bit.ly/2gCI22), might be worth contacting him directly. The code is obfuscated, so maybe not trivial to use.
Cannonade
The example seem to show Street View and Google Maps at the same time. I'm looking for a Street View button like Map/Satellite/Hybrid that show up on the standard Google Map.
ssorrrell