google-maps-documentation

GeocoderAddressComponent interface

google.maps.GeocoderAddressComponent interface

A single address component within a GeocoderResult. A full address may consist of multiple address components.

Properties
long_name
Type:  string
The full text of the address component
short_name
Type:  string
The abbreviated, short text of the given address component
types
Type:  Array<string>
An array of strings denoting the type of this address component. A list of valid types can be found here