Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 2.37 KB

GeocoderRequest.md

File metadata and controls

46 lines (24 loc) · 2.37 KB

See html formatted version

GeocoderRequest interface

google.maps.GeocoderRequest interface

The specification for a geocoding request to be sent to the Geocoder.

Properties

undefined

Type:  string optional

Address to geocode. One, and only one, of address, location and placeId must be supplied.

undefined

Type:  LatLngBounds|LatLngBoundsLiteral optional

LatLngBounds within which to search. Optional.

undefined

Type:  GeocoderComponentRestrictions optional

Components are used to restrict results to a specific area. A filter consists of one or more of: route, locality, administrativeArea, postalCode, country. Only the results that match all the filters will be returned. Filter values support the same methods of spelling correction and partial matching as other geocoding requests. Optional.

undefined

Type:  LatLng|LatLngLiteral optional

LatLng (or LatLngLiteral) for which to search. The geocoder performs a reverse geocode. See Reverse Geocoding for more information. One, and only one, of address, location and placeId must be supplied.

undefined

Type:  string optional

The place ID associated with the location. Place IDs uniquely identify a place in the Google Places database and on Google Maps. Learn more about place IDs in the Places API developer guide. The geocoder performs a reverse geocode. See Reverse Geocoding for more information. One, and only one, of address, location and placeId must be supplied.

undefined

Type:  string optional

Country code used to bias the search, specified as a Unicode region subtag / CLDR identifier. Optional.