google.maps.StreetViewLocationRequest
interface
A Street View request to be sent with getPanorama. StreetViewLocationRequest lets you search for a Street View panoroma at a specified location.
| Properties | |
|---|---|
location |
Type:
LatLng|LatLngLiteral optionalSpecifies the location where to search for a Street View panorama. |
preference |
Type:
StreetViewPreference optionalSets a preference for which panorama should be found within the radius: the one nearest to the provided location, or the best one within the radius. |
radius |
Type:
number optionalSets a radius in meters in which to search for a panorama. Defaults to 50 when not supplied. |
source |
Type:
StreetViewSource optionalSpecifies the source of panoramas to search. This allows a restriction to search for just outdoor panoramas for example. If not specified it is set to DEFAULT. |