Skip to Content
APIRoutesClass: MVXRouteLeg

Class: MVXRouteLeg

Represents a route leg that connects two specific points. Each leg contains information about distance, duration, and detailed steps.

Properties

distance

distance: number

Total distance of the leg in meters


duration

duration: number

Estimated duration of the leg in seconds


endLocation

endLocation: LatLng

Ending location of the leg


startLocation

startLocation: LatLng

Starting location of the leg


steps

steps: MVXRouteStep[];

List of detailed steps that compose this leg

Last updated on