I have been working on a map based search app for a while and now I am looking to add functionality around seeing inside stores.
Some public stores such as:
The functionality exists to change the view into street view using this example:
https://developers.google.com/maps/documentation/javascript/examples/streetview-service
How would we use the Google Map API call to change the current map view to a pre-determined "see Inside" hotspot?
I managed to find a solution, Here are the resources:
http://jsfiddle.net/edwardgolduk/aWLut/
https://developers.google.com/maps/documentation/javascript/streetview#StreetViewService
You can use LAT and LONG - it will detect the nearest panorama
or you can specify a Panorama ID