Origin

class Origin(    val id: RoutePointId,     val place: Place,     val navigableCoordinates: List<GeoCoordinate>,     val routeOffset: Distance) : RoutePoint

Represents the origin of the route.

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

Constructors

Link copied to clipboard
fun Origin(    id: RoutePointId,     place: Place,     navigableCoordinates: List<GeoCoordinate>,     routeOffset: Distance)

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
open override val routeOffset: Distance

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