MapboxReverseEndpoint

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

A ReverseEndpoint that uses the Mapbox Geocoding API.

Constructors

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

Creates a new MapboxReverseEndpoint with the given API key.

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

Functions

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