Geocoder

fun Geocoder(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.