ReverseEndpoint

fun ReverseEndpoint(url: (Coordinates) -> String, mapResponse: suspend (HttpResponse) -> List<Place>): ReverseEndpoint

An endpoint for reverse geocoding.

Parameters

url

The URL to use for reverse geocoding.

mapResponse

A function to map the response to a list of Coordinates.