LocationResponse

data class LocationResponse(val latLng: LatLngResponse, val locationType: String, val postalAddress: PostalAddressResponse, val radiusMiles: Double)

A resource that represents a location with full geographic information.

Constructors

Link copied to clipboard
fun LocationResponse(latLng: LatLngResponse, locationType: String, postalAddress: PostalAddressResponse, radiusMiles: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An object representing a latitude/longitude pair.

Link copied to clipboard

The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.

Link copied to clipboard

Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.

Link copied to clipboard

Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from google.type.LatLng covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.