Destination

class Destination(    val id: RoutePointId,     val place: Place,     val navigableCoordinates: List<GeoCoordinate>,     val routeOffset: Distance,     val roadSide: RoadSide? = null) : RoutePoint

Represents the destination of the route.

See also

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

roadSide

The side of the road at which the route point is located.

Constructors

Link copied to clipboard
fun Destination(    id: RoutePointId,     place: Place,     navigableCoordinates: List<GeoCoordinate>,     routeOffset: Distance,     roadSide: RoadSide? = null)

Properties

Link copied to clipboard
open override val id: RoutePointId

The id that matches the ItineraryPointId if this route point is returned from Routing API.

Link copied to clipboard
open override val navigableCoordinates: List<GeoCoordinate>

Coordinates which represent the navigable points of this route point.

Link copied to clipboard
open override val place: Place

Place linked to this route point.

Link copied to clipboard
val roadSide: RoadSide? = null
Link copied to clipboard
open override val routeOffset: Distance

The distance from the start of the route to this route point.