google-maps-documentation

StreetViewService class

google.maps.StreetViewService class

A StreetViewService object performs searches for Street View data.

Constructor
StreetViewService
StreetViewService()
Parameters:  None
Creates a StreetViewService, which provides an interface to the data stored in the Street View service.
Methods
getPanorama
getPanorama(request, callback)
Return Value:  None
Retrieves the StreetViewPanoramaData for a panorama that matches the supplied Street View query request. The StreetViewPanoramaData is passed to the provided callback.