RouteOptions

@Serializable
data class RouteOptions(val avoidFeatures: List<String>? = null, val avoidPolygons: AvoidPolygons? = null, val profileParams: ProfileParams? = null)

Constructors

Link copied to clipboard
constructor(avoidFeatures: List<String>? = null, avoidPolygons: AvoidPolygons? = null, profileParams: ProfileParams? = null)

Properties

Link copied to clipboard
@SerialName(value = "avoid_features")
val avoidFeatures: List<String>? = null

Features to avoid, e.g., ferries or tollways.

Link copied to clipboard
@SerialName(value = "avoid_polygons")
val avoidPolygons: AvoidPolygons? = null

Optional polygon geometry to avoid.

Link copied to clipboard
@SerialName(value = "profile_params")
val profileParams: ProfileParams? = null

Profile specific parameters such as restrictions.