google.maps.GeocoderComponentRestrictions
interface
GeocoderComponentRestrictions represents a set of filters that resolve to a specific area. For details on how this works, see Geocoding Component Filtering.
| Properties | |
|---|---|
administrativeArea |
Type:
stringMatches all the administrative_area levels. Optional. |
country |
Type:
stringMatches a country name or a two letter ISO 3166-1 country code. Optional. |
locality |
Type:
stringMatches against both locality and sublocality types. Optional. |
postalCode |
Type:
stringMatches postal_code and postal_code_prefix. Optional. |
route |
Type:
stringMatches the long or short name of a route. Optional. |