MapboxForwardEndpoint

class MapboxForwardEndpoint(apiKey: String, parameters: MapboxParameters = MapboxParameters()) : HttpApiEndpoint<String, List<Coordinates>>

A ForwardEndpoint that uses the Mapbox Geocoding API.

Constructors

Link copied to clipboard
constructor(apiKey: String, block: MapboxParametersBuilder.() -> Unit)

Creates a new MapboxForwardEndpoint with the given API key.

constructor(apiKey: String, parameters: MapboxParameters = MapboxParameters())

Functions

Link copied to clipboard
open suspend override fun mapResponse(response: HttpResponse): List<Coordinates>
Link copied to clipboard
open override fun url(param: String): String