1

I am wondering if it's possible in any way to get a list of businesses that have done a Google Virtual Tour (basically a Street View, for businesses) by querying in Google Maps API.

I was hoping that perhaps the Places Library might contain this information in a response, but no dice. This is kind of visible in an everyday map (see Hotel Boulderado) but I don't think the information is included in any kind of query I can do.

I also saw a few questions dealing with finding a Street View by a specific LatLng - I'm looking for a more general, area-based search.

Any ideas or things I missed?

tempranova
  • 929
  • 9
  • 13

1 Answers1

0

I was hoping that perhaps the Places Library might contain this information in a response

Places API can provide you a "list of businesses" in an area by trying to filter it up with specific Place Types. You are, however, limited to the constants the API provides. If you're using PlacesService, you can use nearbysearch which I think is more appropriate to your case.

I also saw a few questions dealing with finding a Street View by a specific LatLng - I'm looking for a more general, area-based search.

I'm not sure what you mean by "area-based search", but Street View on a specific LatLng can be tricky since its only available on some areas. The Explore StreetView site highlights what countries currently have data (zooming in suggests that it doesn't necessarily captured the whole country; mostly are road routes, etc.)

A StackOverflow entry indicates a way to handle if StreetView is available or not.

Hopefully the answer raised some clarifications in your end.

Community
  • 1
  • 1
adjuremods
  • 2,938
  • 2
  • 12
  • 17
  • Yeah, unfortunately there doesn't seem to be any part of any API that actually lists if StreetView is available. It's possible to send a latlng and get back a result or not, but no way to programmatically check to see if business listings have a Virtual Tour attached. Thanks though. – tempranova Mar 17 '16 at 18:28