google.maps.GeocoderRequest
interface
The specification for a geocoding request to be sent to the Geocoder.
| Properties | |
|---|---|
address |
Type:
string optionalAddress to geocode. One, and only one, of address, location and placeId must be supplied. |
bounds |
Type:
LatLngBounds|LatLngBoundsLiteral optionalLatLngBounds within which to search. Optional. |
componentRestrictions |
Type:
GeocoderComponentRestrictions optionalComponents 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. |
location |
Type:
LatLng|LatLngLiteral optionalLatLng (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. |
placeId |
Type:
string optionalThe 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. |
region |
Type:
string optionalCountry code used to bias the search, specified as a Unicode region subtag / CLDR identifier. Optional. |