LegWaypoint

The class contains information about a waypoint which breaks the route into legs (not the silent one).

Parameters

location

waypoint location provided in the route request via coordinates parameter.

name

waypoint name provided in the route request via waypoint_names parameter.

target

waypoint target provided in the route request via waypoint_targets parameter.

type

waypoint type (see Type]).

metadata

waypoint metadata as in DirectionsWaypoint#metadata.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
val location: Point
Link copied to clipboard
val metadata: Map<String, JsonElement>?
Link copied to clipboard
Link copied to clipboard
val target: Point?
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.