SnapHelper

Helpers for the snap endpoints.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun OrsClient.getSnap(locations: List<List<Double>>, radius: Int, profile: Profile, id: String? = null): SnapResponse

Calls the ORS Snap endpoint for the given profile.

Link copied to clipboard
suspend fun OrsClient.getSnapGeoJson(locations: List<List<Double>>, radius: Int, profile: Profile, id: String? = null): SnapGeoJsonResponse

Calls the ORS Snap GeoJSON endpoint.

Link copied to clipboard
suspend fun OrsClient.getSnapJson(locations: List<List<Double>>, radius: Int, profile: Profile, id: String? = null): SnapResponse

Calls the ORS Snap JSON endpoint.