Waypoint

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

Represents a point where the user wants to stop along 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 Waypoint(    id: RoutePointId,     place: Place,     navigableCoordinates: List<GeoCoordinate>,     routeOffset: Distance,     roadSide: RoadSide?)

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?
Link copied to clipboard
open override val routeOffset: Distance

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