GoogleMapsConfig

interface GoogleMapsConfig { apiKey?: string; region?: string; enableAutocomplete?: boolean; autocompleteOptions?: any; }

Source: global.ts:1254

Google Maps settings for address autocomplete on checkout forms. Optional — autocomplete is off unless an API key is supplied.


Properties

apiKey: string

Google Maps API key. Autocomplete stays disabled without it.

region: string

Region bias for autocomplete results (e.g. "US").

enableAutocomplete: boolean

Master switch for address autocomplete.

autocompleteOptions: any

Extra options passed through to the Google autocomplete widget.