GoogleMapsGeocoder

fun GoogleMapsGeocoder(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default): Geocoder

Creates a new Geocoder using the Google Maps HTTP API geocoding service.

See Google Maps for more information.

Return

A new Geocoder using the Google Maps HTTP API geocoding service.

Parameters

apiKey

The Google Maps API key.

parameters

The parameters to use for the geocoder.

json

The JSON implementation to use for serialization.

client

The HTTP client to use for requests.

dispatcher

The coroutine dispatcher to use for requests.


fun GoogleMapsGeocoder(apiKey: String, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default, block: GoogleMapsParametersBuilder.() -> Unit): Geocoder

Creates a new Geocoder using the Google Maps HTTP API geocoding service.

See Google Maps for more information.

Return

A new Geocoder using the Google Maps HTTP API geocoding service.

Parameters

apiKey

The Google Maps API key.

json

The JSON implementation to use for serialization.

client

The HTTP client to use for requests.

dispatcher

The coroutine dispatcher to use for requests.

block

Customize the GoogleMapsParameters to use for the geocoder.