Is there a way to request the main road panorama of Google StreetView instead of back panel panorama data for a given location (latitude / longitude)?
I use the Google Maps Javascript API to get a street view panorama from the home address provided by our users. It works very well for most of the addresses I tried, but I notice that many properties in California also look like streets for the back alleys, and the API seams consistently return a panorama of the back alley instead of the main road (in front of the property).
I do not want to show the user the back alley of the panorama of my house, but instead the main panorama of the road. If I look at the same address on maps.google.com, I see the front of the house, but when I request the same address through the API, I get the back alley.
I am currently using the following process:
- Geocode Address
- Get a panorama based on the location of the geocode (lat / long)
- Calculate the title and panorama on the page
Test addresses:
- 325 S Peck Dr, Beverly Hills, CA, USA, 90212
- 333 S Rodeo Dr, Beverly Hills, CA, USA, 90212
Any ideas or suggestions would be greatly appreciated. Thanks!
source share