HttpApiPlatformGeocoder

fun HttpApiPlatformGeocoder(forwardEndpoint: ForwardEndpoint, reverseEndpoint: ReverseEndpoint, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): HttpApiPlatformGeocoder

Create a new HttpApiPlatformGeocoder with the given forwardEndpoint and reverseEndpoint.

Customization of the Json configuration and HttpClient can be done with the json and client parameters.

Return

A new HttpApiPlatformGeocoder with the given forwardEndpoint and reverseEndpoint.

Parameters

forwardEndpoint

The endpoint to use for forward geocoding.

reverseEndpoint

The endpoint to use for reverse geocoding.

json

The Json configuration to use for the HttpClient.

client

The HttpClient to use for the geocoder.