GoogleStreetView

The GoogleStreetView Service provides access to the Google Street View Image API For more information, check out https://developers.google.com/maps/documentation/streetview/intro

Terms of use: https://developers.google.com/maps/terms

RPCS

GoogleStreetView.getInfo(latitude: Latitude, longitude: Longitude, fieldofview: BoundedNumber<1, 120>, heading: BoundedNumber<0, 360>, pitch: BoundedNumber<-90, 90>)

Get Street View metadata of a location using coordinates.

Status explanation:

  • OK - No errors occurred.
  • ZERO_RESULTS - No image could be found near the provided location.
  • NOT_FOUND - The location provided could not be found.

Arguments:

  • latitude: Latitude info - Latitude coordinate of location
  • longitude: Longitude info - Longitude coordinate of location
  • fieldofview: BoundedNumber<1, 120> info - Field of View of image, maximum of 120
  • heading: BoundedNumber<0, 360> info - Heading of view
  • pitch: BoundedNumber<-90, 90> info - Pitch of view, 90 to point up, -90 to point down

Returns: Object info - Metadata infromation about the requested Street View.

GoogleStreetView.getInfoFromAddress(location: String, fieldofview: BoundedNumber<1, 120>, heading: BoundedNumber<0, 360>, pitch: BoundedNumber<-90, 90>)

Get Street View metadata of a location using a location query.

Status explanation:

  • OK - No errors occurred.
  • ZERO_RESULTS - No image could be found near the provided location.
  • NOT_FOUND - The location provided could not be found.

Arguments:

  • location: String info - Address or Name of location
  • fieldofview: BoundedNumber<1, 120> info - Field of View of image, maximum of 120
  • heading: BoundedNumber<0, 360> info - Heading of view
  • pitch: BoundedNumber<-90, 90> info - Pitch of view, 90 to point up, -90 to point down

Returns: Object info - Metadata infromation about the requested Street View.

GoogleStreetView.getView(latitude: Latitude, longitude: Longitude, width: BoundedNumber<1, 2000>, height: BoundedNumber<1, 2000>, fieldofview: BoundedNumber<1, 120>, heading: BoundedNumber<0, 360>, pitch: BoundedNumber<-90, 90>)

Get Street View image of a location using coordinates

Arguments:

  • latitude: Latitude info - Latitude coordinate of location
  • longitude: Longitude info - Longitude coordinate of location
  • width: BoundedNumber<1, 2000> info - Width of image
  • height: BoundedNumber<1, 2000> info - Height of image
  • fieldofview: BoundedNumber<1, 120> info - Field of View of image, maximum of 120
  • heading: BoundedNumber<0, 360> info - Heading of view
  • pitch: BoundedNumber<-90, 90> info - Pitch of view, 90 to point up, -90 to point down

Returns: Image - Image of requested location with specified size and orientation

GoogleStreetView.getViewFromAddress(location: String, width: BoundedNumber<1, 2000>, height: BoundedNumber<1, 2000>, fieldofview: BoundedNumber<1, 120>, heading: BoundedNumber<0, 360>, pitch: BoundedNumber<-90, 90>)

Get Street View image of a location from a location string

Arguments:

  • location: String info - Address or Name of location
  • width: BoundedNumber<1, 2000> info - Width of image
  • height: BoundedNumber<1, 2000> info - Height of image
  • fieldofview: BoundedNumber<1, 120> info - Field of View of image, maximum of 120
  • heading: BoundedNumber<0, 360> info - Heading of view
  • pitch: BoundedNumber<-90, 90> info - Pitch of view, 90 to point up, -90 to point down

Returns: Image - Image of requested location with specified size and orientation

GoogleStreetView.isAvailable(latitude: Latitude, longitude: Longitude, fieldofview: BoundedNumber<1, 120>, heading: BoundedNumber<0, 360>, pitch: BoundedNumber<-90, 90>)

Check for availability of imagery at a location using coordinates

Arguments:

  • latitude: Latitude info - Latitude coordinate of location
  • longitude: Longitude info - Longitude coordinate of location
  • fieldofview: BoundedNumber<1, 120> info - Field of View of image, maximum of 120
  • heading: BoundedNumber<0, 360> info - Heading of view
  • pitch: BoundedNumber<-90, 90> info - Pitch of view, 90 to point up, -90 to point down

Returns: Boolean info - true if imagery is available

GoogleStreetView.isAvailableFromAddress(location: String, fieldofview: BoundedNumber<1, 120>, heading: BoundedNumber<0, 360>, pitch: BoundedNumber<-90, 90>)

Check for availability of imagery at a location using an address

Arguments:

  • location: String info - Address or Name of location
  • fieldofview: BoundedNumber<1, 120> info - Field of View of image, maximum of 120
  • heading: BoundedNumber<0, 360> info - Heading of view
  • pitch: BoundedNumber<-90, 90> info - Pitch of view, 90 to point up, -90 to point down

Returns: Boolean info - true if imagery is available