-1

First of all, I want to get lat-long from the user and then showing the street view map in my app, so my question is when user enter lat-long there is any method to identify that this lat-long is supporting street view map or not

I don't find any solution that can check whether this lat-long support for street view map or not.

Mohit Suthar
  • 8,725
  • 10
  • 37
  • 67

1 Answers1

1

I guess using street view image metadata you can get those details.

Here is a link i found about street view image metadata

There you can see different status codes

Example Request :

https://maps.googleapis.com/maps/api/streetview/metadata?size=600x300&location=78.648401,14.194336&fov=90&heading=235&pitch=10&key=YOUR_API_KEY

Example Response :

{
   "status" : "ZERO_RESULTS"
}
Ravi
  • 34,851
  • 21
  • 122
  • 183