Package-level declarations

Functions

Link copied to clipboard
fun ForwardGeocoder(endpoint: ForwardEndpoint, json: Json = HttpApiEndpoint.json(), httpClient: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default): ForwardGeocoder

Create a new Geocoder instance for forward geocoding operations.

Link copied to clipboard
fun Geocoder(platformGeocoder: HttpApiPlatformGeocoder, dispatcher: CoroutineDispatcher = Dispatchers.Default): Geocoder

Create a new Geocoder instance that uses a HttpApiPlatformGeocoder.

fun Geocoder(forwardEndpoint: ForwardEndpoint, reverseEndpoint: ReverseEndpoint, json: Json = HttpApiEndpoint.json(), httpClient: HttpClient = HttpApiEndpoint.httpClient(json), dispatcher: CoroutineDispatcher = Dispatchers.Default): Geocoder

Create a new Geocoder instance that uses a HttpApiPlatformGeocoder which is constructed from the supplied ForwardEndpoint and ReverseEndpoint.

Link copied to clipboard
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.