DirectionsWaypoint

@Serializable
data class DirectionsWaypoint(val name: String? = null, val location: Point? = null)

An input coordinate snapped to the roads network.

Since

1.0.0

Constructors

Link copied to clipboard
constructor(name: String? = null, location: Point? = null)

Properties

Link copied to clipboard
@Serializable(with = PointSerializer::class)
val location: Point? = null

A Point representing this waypoint location.

Link copied to clipboard
val name: String? = null

Provides the way name which the waypoint's coordinate is snapped to.