Step
import type { Step } from "https://aws-api.deno.dev/v0.3/services/location.ts?docs=full";
Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg.
interface Step {
Distance: number;
DurationSeconds: number;
EndPosition: number[];
GeometryOffset?: number | null;
StartPosition: number[];
}§Properties
§
DurationSeconds: number
[src]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.
§
EndPosition: number[]
[src]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.