Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 1.98 KB

GeocoderResult.md

File metadata and controls

52 lines (27 loc) · 1.98 KB

See html formatted version

GeocoderResult interface

google.maps.GeocoderResult interface

A single geocoder result retrieved from the geocode server. A geocode request may return multiple result objects. Note that though this result is "JSON-like," it is not strictly JSON, as it indirectly includes a LatLng object.

Properties

undefined

Type:  Array<GeocoderAddressComponent>

An array of GeocoderAddressComponents

undefined

Type:  string

A string containing the human-readable address of this location.

undefined

Type:  GeocoderGeometry

A GeocoderGeometry object

undefined

Type:  boolean

Whether the geocoder did not return an exact match for the original request, though it was able to match part of the requested address.

undefined

Type:  string

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.

undefined

Type:  Array

An array of strings denoting all the localities contained in a postal code. This is only present when the result is a postal code that contains multiple localities. This array can contain up to 10 localities.

undefined

Type:  Array

An array of strings denoting the type of the returned geocoded element. For a list of possible strings, refer to the Address Component Types section of the Developer's Guide.