ForwardEndpoint
fun ForwardEndpoint(url: (String) -> String, mapResponse: suspend (HttpResponse) -> List<Coordinates>): ForwardEndpoint
An endpoint for forward geocoding.
Parameters
url
The URL to use for forward geocoding.
mapResponse
A function to map the response to a list of Coordinates.