RouteLeg
¶
Source code in docs_src/capo_geo_routes/types/route_leg.py
ferry_leg_details
instance-attribute
¶
ferry_leg_details: NotRequired[RouteFerryLegDetails]
FerryLegDetails is populated when the Leg type is Ferry, and provides additional information that is specific to ferry travel. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
language
instance-attribute
¶
language: NotRequired[LanguageTag]
List of languages for instructions within steps in the response. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
pedestrian_leg_details
instance-attribute
¶
pedestrian_leg_details: NotRequired[RoutePedestrianLegDetails]
Details related to the pedestrian leg.
rental_leg_details
instance-attribute
¶
rental_leg_details: NotRequired[RouteRentalLegDetails]
Details related to the rental leg.
Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
taxi_leg_details
instance-attribute
¶
taxi_leg_details: NotRequired[RouteTaxiLegDetails]
Details related to the taxi leg.
Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
transit_leg_details
instance-attribute
¶
transit_leg_details: NotRequired[RouteTransitLegDetails]
Details related to the transit leg.
travel_mode
instance-attribute
¶
travel_mode: RouteLegTravelMode
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
Default value: Car
vehicle_leg_details
instance-attribute
¶
vehicle_leg_details: NotRequired[RouteVehicleLegDetails]
Details related to the vehicle leg.