Location

A resource that represents a location with full geographic information.

JSON representation
{
  "locationType": enum (LocationType),
  "postalAddress": {
    object (PostalAddress)
  },
  "latLng": {
    object (LatLng)
  },
  "radiusMiles": number
}
Fields
locationType

enum (LocationType)

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.

postalAddress

object (PostalAddress)

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.

latLng

object (LatLng)

An object representing a latitude/longitude pair.

radiusMiles

number

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.

LocationType

An enum which represents the type of a location.

Enums
LOCATION_TYPE_UNSPECIFIED Default value if the type isn't specified.
COUNTRY A country level location.
ADMINISTRATIVE_AREA A state or equivalent level location.
SUB_ADMINISTRATIVE_AREA A county or equivalent level location.
LOCALITY A city or equivalent level location.
POSTAL_CODE A postal code level location.
SUB_LOCALITY A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.
SUB_LOCALITY_1 A district or equivalent level location.
SUB_LOCALITY_2 A smaller district or equivalent level display.
NEIGHBORHOOD A neighborhood level location.
STREET_ADDRESS A street address level location.

LatLng

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

JSON representation
{
  "latitude": number,
  "longitude": number
}
Fields
latitude

number

The latitude in degrees. It must be in the range [-90.0, +90.0].

longitude

number

The longitude in degrees. It must be in the range [-180.0, +180.0].

Var denne siden nyttig? Si fra hva du synes:

Send tilbakemelding om ...

Job search documentation
Trenger du hjelp? Gå til brukerstøttesiden vår.