RouteOptions

class RouteOptions(route: List<Point>, deviation: RouteOptions.Deviation) : Parcelable

Options to configure Route for search along the route functionality.

Note: Supported for Single Box Search API only. Reserved for internal and special use.

Parameters

route

route to search across; please note, at least 2 points should be provided.

deviation

option describing maximum detour from route.

Constructors

RouteOptions
Link copied to clipboard
fun RouteOptions(route: List<Point>, deviation: RouteOptions.Deviation)
route to search across; please note, at least 2 points should be provided.

Types

Deviation
Link copied to clipboard
abstract class Deviation : Parcelable
Option describing maximum detour from route.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

deviation
Link copied to clipboard
val deviation: RouteOptions.Deviation
option describing maximum detour from route.
route
Link copied to clipboard
val route: List<Point>
route to search across; please note, at least 2 points should be provided.