Location input

An autocompleting text-box for location input
This location input should be used when you need, well, a location input. It will set latitude/longitude pairs in the control that you pass in.
You can set a default value for the input using coordinates
Value: -33.876936, 151.206461
You can also manually assign to it.
You can also set the default value of the input field using a fullAddress
Inputs
control : FormControl<LocationInputCustomCoordinate | LocationInputCustomAddress | LocationInputMapLocation>
autocompleteCountries ?: string | string[]
Country restrictions override for autocomplete predictions.
countryRestrictions ?: readonly Country[]
Limits the results to the countries if given.
detectLocation ?: boolean = false
Whether or not to display the detect location button
disabled ?: boolean = false
displayPostalCode ?: boolean = false
Include postal code, if present, in the location full address
dynamicValidation ?: boolean = false
First validation happens only on blur, and validates on value changes once an error exists
inputSize ?: any = InputSize.MID
label ?: string
locationType ?: AutocompleteLocationType = AutocompleteLocationType.ALL
The `type` passed to the GMaps API when doing autocompletion. See https://developers.google.com/places/web-service/autocomplete#place_types
placeholder ?: string = 'Enter a location'
postalCodeRequired ?: boolean = true
Set to false to prevent additional geocode request to retrieve postcode for partial addresses
Outputs
clearLocation ?: any = new EventEmitter()
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.