Parameter interface for MPRouteStep.

Export

MPRouteStepParams

Hierarchy

  • MPRouteStepParams

Properties

abutters?: string

The abutters associated with the route step.

available_travel_modes?: string[]

An array of available travel modes for the route step.

distance?: MPRouteProperty

The distance of the route step.

duration?: MPRouteProperty

The duration of the route step.

end_location?: MPRouteCoordinate

The ending location of the route step.

geometry?: MPRouteCoordinate[]

An array of coordinates representing the geometry of the route step.

highway?: string

The highway associated with the route step.

html_instructions?: string

Textual instructions for the step

maneuver?: string

The maneuver associated with the route step.

Possible values incldue:

  • "turn-left"
  • "turn-right"
  • "straight"
  • "uturn-left"
  • "uturn-right"
  • "turn-sharp-left"
  • "turn-sharp-right"
start_location?: MPRouteCoordinate

The starting location of the route step.

steps?: MPRouteStep[]

An array of sub-steps for the route step.

travel_mode?: string

The travel mode for the route step.

Generated using TypeDoc