Interface protos.google.maps.routing.v2.IRouteLeg (1.4.0)

Properties of a RouteLeg.

Package

@googlemaps/routing

Properties

distanceMeters

distanceMeters?: (number|null);

RouteLeg distanceMeters

duration

duration?: (google.protobuf.IDuration|null);

RouteLeg duration

endLocation

endLocation?: (google.maps.routing.v2.ILocation|null);

RouteLeg endLocation

localizedValues

localizedValues?: (google.maps.routing.v2.RouteLeg.IRouteLegLocalizedValues|null);

RouteLeg localizedValues

polyline

polyline?: (google.maps.routing.v2.IPolyline|null);

RouteLeg polyline

startLocation

startLocation?: (google.maps.routing.v2.ILocation|null);

RouteLeg startLocation

staticDuration

staticDuration?: (google.protobuf.IDuration|null);

RouteLeg staticDuration

steps

steps?: (google.maps.routing.v2.IRouteLegStep[]|null);

RouteLeg steps

stepsOverview

stepsOverview?: (google.maps.routing.v2.RouteLeg.IStepsOverview|null);

RouteLeg stepsOverview

travelAdvisory

travelAdvisory?: (google.maps.routing.v2.IRouteLegTravelAdvisory|null);

RouteLeg travelAdvisory