Parameter interface for MPRouteLeg.

Export

MPRouteLegParams

Hierarchy

  • MPRouteLegParams

Properties

distance?: MPRouteProperty

The distance of the leg.

duration?: MPRouteProperty

The expected time it takes to traverse the leg.

end_address?: string

The address at the end of the leg.

end_location?: MPRouteCoordinate

The end coordinate of the leg.

start_address?: string

The address at the start of the leg.

start_location?: MPRouteCoordinate

The start coordinate of the leg.

steps?: MPRouteStep[]

The steps the leg consists of.

Generated using TypeDoc