Interface protos.google.maps.routing.v2.IRoute (0.2.1)

Properties of a Route.

Package

@googlemaps/routing

Properties

description

description?: (string|null);

Route description

distanceMeters

distanceMeters?: (number|null);

Route distanceMeters

duration

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

Route duration

legs

legs?: (google.maps.routing.v2.IRouteLeg[]|null);

Route legs

polyline

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

Route polyline

routeLabels

routeLabels?: (google.maps.routing.v2.RouteLabel[]|null);

Route routeLabels

routeToken

routeToken?: (string|null);

Route routeToken

staticDuration

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

Route staticDuration

travelAdvisory

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

Route travelAdvisory

viewport

viewport?: (google.geo.type.IViewport|null);

Route viewport

warnings

warnings?: (string[]|null);

Route warnings