Creates a new instance of this object
options to use for generating directions
Optional
wp: Waypointthe staring waypoint for this segment
Optional
direction: DirectionIndicatorthe direction that this segment is relative to the previous one
Adds a segment to the end of the current segment
the segment to combine with this one
Adds a new waypoint to the end of this segmment
the waypoint to add
Generates the directions that will be used to describe this segment of the path
custom labeling info
the directions that represent this segment
Generates the initial prefix for the direction that tells which direction(s) to turn relative to the previous segment on the path
the previous segment on the path
the initial prefix that indicates which direction(s) to turn
The list of directions for this step (left/right/straight)
The options to use when generating the directions for this segment
If a segment is combined, it will have a parent segment that its waypoints were added to
the parent segment or null if this segment doesn't have one
This will be overridden if you call createStepUsingLastSegment
new landmarks for this segment
The options to use when generating the directions for this segment
Protected
directionsOptional
subGenerated using TypeDoc
Indicates a section of the overall waypath that the user will take along their way from the start to the end of the journey
Since
2.0.0