AddressAutocompleteParameters
Stentor API Reference / stentor-models/src / AddressAutocompleteParameters
Interface: AddressAutocompleteParameters
Defined in: packages/stentor-models/src/Form/FormField.ts:5
Propertiesβ
components?β
optionalcomponents:string
Defined in: packages/stentor-models/src/Form/FormField.ts:11
This will look like components=country:us or components=country:us|country:ca
Seeβ
https://developers.google.com/maps/documentation/places/web-service/autocomplete#components
language?β
optionallanguage:string
Defined in: packages/stentor-models/src/Form/FormField.ts:15
The text string on which to search. The Places service will return candidate matches based on this string and order results based on their perceived relevance.
location?β
optionallocation:string
Defined in: packages/stentor-models/src/Form/FormField.ts:21
A text that is the lat & long of the location to use as the center of the search.
For example, location=37.76999,-122.44696
locationbias?β
optionallocationbias:string
Defined in: packages/stentor-models/src/Form/FormField.ts:22
locationrestriction?β
optionallocationrestriction:string
Defined in: packages/stentor-models/src/Form/FormField.ts:23
radius?β
optionalradius:string
Defined in: packages/stentor-models/src/Form/FormField.ts:29
When using location with a specific lat & long, this must be provided.
This is in meters
key?β
optionalkey:string
Defined in: packages/stentor-models/src/Form/FormField.ts:33
The API key, only required when using the official Google Maps API.