NavigationRequest

data class NavigationRequest(uuid: String, coordinates: List<LocationPoint>, alternatives: Boolean, userCourseInDegrees: Double?, steps: Boolean, navigationMode: NavigationMode, annotations: List<AnnotationType>, geometry: GeometryType, overview: OverviewType, bearings: List<Bearing?>?)

Navigation routing request.

Constructors

NavigationRequest
Link copied to clipboard
fun NavigationRequest(uuid: String = UUID.randomUUID().toString(), coordinates: List<LocationPoint>, alternatives: Boolean = true, userCourseInDegrees: Double? = null, steps: Boolean = true, navigationMode: NavigationMode = NavigationMode.CAR, annotations: List<AnnotationType> = listOf(AnnotationType.DISTANCE, AnnotationType.DURATION), geometry: GeometryType = GeometryType.POLYLINE, overview: OverviewType = OverviewType.FULL, bearings: List<Bearing?>? = null)

Properties

alternatives
Link copied to clipboard
val alternatives: Boolean = true
annotations
Link copied to clipboard
val annotations: List<AnnotationType>
bearings
Link copied to clipboard
val bearings: List<Bearing?>? = null
coordinates
Link copied to clipboard
val coordinates: List<LocationPoint>
geometry
Link copied to clipboard
val geometry: GeometryType
navigationMode
Link copied to clipboard
val navigationMode: NavigationMode
overview
Link copied to clipboard
val overview: OverviewType
steps
Link copied to clipboard
val steps: Boolean = true
userCourseInDegrees
Link copied to clipboard
val userCourseInDegrees: Double? = null
uuid
Link copied to clipboard
val uuid: String