Google Street View Image API Example

6

Google Provides Street View Image API to download street view images with a simple http request.
The API has daily limit of 25,000 image requests.Street View images can be downloaded in any size up to 640×640 pixels.

Working Street View Image website : http://www.streetview.cc

HOW TO SEND GOOGLE STREET VIEW IMAGE API REQUEST

To access Image API you need to get Google Browser Apps API Key. Below is the http request you need to send to get stree view image.

IMAGE_SIZE = size of the image. Format: width x height
LOCATION_LAT_LONG = Location of the street. Format: lattitude, longitude
SENSOR_STATUS= GPS enabled or not. Format: true/false
HEADING= Compass heading of the Camera. Format: 0 to 360
FOV= Horizontal filed of view of the image. Format: 0 to 120 (default: 90)
PITCH= Up or down angle of the camera relative to the Street View vehicle. Format: -90 to 90
GOOGLE_API_CONSOLE_KEY = Google Browser API Key. Get your own key from API Console

Sample URL Request:  Click Here

HOW TO GET THE CURRENT STREETVIEW PARAMETERS

street view parameters are read using the JavaScript object google.maps.StreetViewPanorama

 

Leave A Reply

Your email address will not be published.