Step

class Step

Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The travel distance between the step's StartPosition and EndPosition.

Link copied to clipboard

The estimated travel time, in seconds, from the step's StartPosition to the EndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.

Link copied to clipboard

The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.

Link copied to clipboard

Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For example, the index of the first step in a leg geometry is 0.

Link copied to clipboard

The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.

Functions

Link copied to clipboard
inline fun copy(block: Step.Builder.() -> Unit = {}): Step
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String