LegWaypoint
class LegWaypoint
The class contains information about a waypoint which breaks the route into legs (not the silent one).
Parameters
location
waypoint location provided in the route request via coordinates
parameter.
name
waypoint name provided in the route request via waypoint_names
parameter.
target
waypoint target provided in the route request via waypoint_targets
parameter.
type
waypoint type (see Type]).
metadata
waypoint metadata as in DirectionsWaypoint#metadata
.
Types
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE] )
Leg waypoint type