static Leg.Builder |
Leg.builder() |
|
Leg.Builder |
Leg.Builder.distance(Double distance) |
The distance between the leg's StartPosition and EndPosition along a calculated
route.
|
Leg.Builder |
Leg.Builder.durationSeconds(Double durationSeconds) |
The estimated travel time between the leg's StartPosition and EndPosition.
|
Leg.Builder |
Leg.Builder.endPosition(Double... endPosition) |
The terminating position of the leg.
|
Leg.Builder |
Leg.Builder.endPosition(Collection<Double> endPosition) |
The terminating position of the leg.
|
default Leg.Builder |
Leg.Builder.geometry(Consumer<LegGeometry.Builder> geometry) |
Contains the calculated route's path as a linestring geometry.
|
Leg.Builder |
Leg.Builder.geometry(LegGeometry geometry) |
Contains the calculated route's path as a linestring geometry.
|
Leg.Builder |
Leg.Builder.startPosition(Double... startPosition) |
The starting position of the leg.
|
Leg.Builder |
Leg.Builder.startPosition(Collection<Double> startPosition) |
The starting position of the leg.
|
Leg.Builder |
Leg.Builder.steps(Collection<Step> steps) |
Contains a list of steps, which represent subsections of a leg.
|
Leg.Builder |
Leg.Builder.steps(Consumer<Step.Builder>... steps) |
Contains a list of steps, which represent subsections of a leg.
|
Leg.Builder |
Leg.Builder.steps(Step... steps) |
Contains a list of steps, which represent subsections of a leg.
|
Leg.Builder |
Leg.toBuilder() |
|