GoogleMapsGeocoderAutocompleteService

fun GoogleMapsGeocoderAutocompleteService(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): AutocompleteService<Place>

Creates a new AutocompleteService that uses the Google Maps Geocoding API to provide autocomplete suggestions.

Return

A new AutocompleteService that uses the Google Maps Geocoding API.

Parameters

apiKey

The Google Maps API key.

parameters

The parameters to use when making requests to the Google Maps Geocoding API.

json

The JSON serializer to use when parsing responses.

client

The HTTP client to use when making requests.


fun GoogleMapsGeocoderAutocompleteService(apiKey: String, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), block: GoogleMapsParametersBuilder.() -> Unit): AutocompleteService<Place>

Creates a new AutocompleteService that uses the Google Maps Geocoding API to provide autocomplete suggestions.

Return

A new AutocompleteService that uses the Google Maps Geocoding API.

Parameters

apiKey

The Google Maps API key.

json

The JSON serializer to use when parsing responses.

client

The HTTP client to use when making requests.

block

A block that configures the parameters to use when making requests to the Google Maps Geocoding API.