Builder
class Builder
Builder class for creating LegAnnotation instances.
Parameters
distance
The distance, in meters, between each pair of coordinates.
duration
The speed, in meters per second, between each pair of coordinates.
speed
The speed, in meters per second, between each pair of coordinates.
max Speed
The posted speed limit, between each pair of coordinates.
congestion
The congestion between each pair of coordinates.
Functions
Link copied to clipboard
Builds a LegAnnotation instance with the current builder values.
Link copied to clipboard
Sets the congestion.
Link copied to clipboard
Sets the distance.
Link copied to clipboard
Sets the duration.
Link copied to clipboard
Sets the max speed.
Link copied to clipboard
Sets the speed.