ReverseGeocoder

fun ReverseGeocoder(endpoint: ReverseEndpoint, json: Json = HttpApiEndpoint.json(), httpClient: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default): ReverseGeocoder

Create a new Geocoder instance for reverse geocoding operations.

Return

A new Geocoder instance.

Parameters

endpoint

The HttpApiEndpoint to use for reverse geocoding operations.

json

The Json instance to use for serialization and deserialization.

httpClient

The HttpClient to use for network operations.

dispatcher

The CoroutineDispatcher to use for geocoding operations.