GoogleMapsGeocoderAutocomplete

fun GoogleMapsGeocoderAutocomplete(apiKey: String, options: AutocompleteOptions = AutocompleteOptions(), parameters: GoogleMapsParameters = GoogleMapsParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default): Autocomplete<Place>

Creates a new Autocomplete instance that uses the Google Maps Geocoding API.

Return

A new Autocomplete instance.

Parameters

apiKey

The Google Maps API key.

options

The autocomplete options.

parameters

The Google Maps geocoder parameters.

json

The JSON serializer.

client

The HTTP client to make the requests with.

dispatcher

The coroutine dispatcher.


fun GoogleMapsGeocoderAutocomplete(apiKey: String, options: AutocompleteOptions = AutocompleteOptions(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default, block: GoogleMapsParametersBuilder.() -> Unit): Autocomplete<Place>

Creates a new Autocomplete instance that uses the Google Maps Geocoding API.

Return

A new Autocomplete instance.

Parameters

apiKey

The Google Maps API key.

options

The autocomplete options.

json

The JSON serializer.

client

The HTTP client to make the requests with.

dispatcher

The coroutine dispatcher.

block

The builder block to configure the Google Maps geocoder parameters.