Skip to content Skip to sidebar Skip to footer

Is There A Way To Use The Google Street View Api And Only Return "side View"?

By side view I mean images where the camera is facing perpendicular to the street and facing the sidewalk that runs along the street. An example would be like this image: http://cd

Solution 1:

You can get information about where the camera was pointing (the direction the car was travelling) from the Google Maps Javascript API v3 StreetViewPov

StreetViewPov object specification google.maps.StreetViewPov object specification A point of view object which specifies the camera's orientation at the Street View panorama's position. The point of view is defined as heading and pitch.

Propertiesheading | Type: number The camera heading in degrees relative to true north. True north is 0°, east is 90°, south is 180°, west is 270°. pitch | Type: number The camera pitch in degrees, relative to the street view vehicle. Ranges from 90° (directly upwards) to -90° (directly downwards).

(unfortunately this information isn't available in the StreetView Image API metadata)

Post a Comment for "Is There A Way To Use The Google Street View Api And Only Return "side View"?"