Package-level declarations
Types
Link copied to clipboard
class MapboxForwardEndpoint(apiKey: String, parameters: MapboxParameters = MapboxParameters()) : HttpApiEndpoint<String, List<Coordinates>>
A ForwardEndpoint that uses the Mapbox Geocoding API.
Link copied to clipboard
Defines a HttpApiPlatformGeocoder that uses the Mapbox Geocoding API.
Link copied to clipboard
class MapboxReverseEndpoint(apiKey: String, parameters: MapboxParameters = MapboxParameters()) : HttpApiEndpoint<Coordinates, List<Place>>
A ReverseEndpoint that uses the Mapbox Geocoding API.
Functions
Link copied to clipboard
fun PlatformGeocoder.Companion.mapbox(apiKey: String, parameters: MapboxParameters = MapboxParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): MapboxPlatformGeocoder
fun PlatformGeocoder.Companion.mapbox(apiKey: String, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), block: MapboxParametersBuilder.() -> Unit): MapboxPlatformGeocoder
Creates a MapboxPlatformGeocoder to be used with the Geocoder.
Link copied to clipboard
fun MapboxPlatformGeocoder(apiKey: String, parameters: MapboxParameters = MapboxParameters(), json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json)): MapboxPlatformGeocoder
fun MapboxPlatformGeocoder(apiKey: String, json: Json = HttpApiEndpoint.json(), client: HttpClient = HttpApiEndpoint.httpClient(json), block: MapboxParametersBuilder.() -> Unit): MapboxPlatformGeocoder
Creates a MapboxPlatformGeocoder to be used with the Geocoder.