Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 5.79 KB

RouteManeuver.md

File metadata and controls

54 lines (45 loc) · 5.79 KB

RouteManeuver

Properties

Name Type Description Notes
type int The type of route maneuver. Code
instruction str The written maneuver instruction.
verbal_transition_alert_instruction str Text suitable for use as a verbal navigation alert. [optional]
verbal_pre_transition_instruction str Text suitable for use as a verbal navigation alert immediately prior to the maneuver transition. [optional]
verbal_post_transition_instruction str Text suitable for use as a verbal navigation alert immediately after to the maneuver transition. [optional]
street_names List[str] A list of street names that are consistent along the entire maneuver. [optional]
begin_street_names List[str] A list of street names at the beginning of the maneuver, if they are different from the names at the end. [optional]
time float The estimated time to complete the entire maneuver, in seconds.
length float The length of the maneuver, in `units`.
begin_shape_index int The index into the list of shape points for the start of the maneuver.
end_shape_index int The index into the list of shape points for the end of the maneuver.
toll bool True any portion of the maneuver is subject to a toll. [optional] [default to False]
rough bool True any portion of the maneuver is unpaved or has portions of rough pavement. [optional] [default to False]
gate bool True if a gate is encountered in the course of this maneuver. [optional] [default to False]
ferry bool True if a ferry is encountered in the course of this maneuver. [optional] [default to False]
sign ManeuverSign [optional]
roundabout_exit_count int The exit number of the roundabout to take after entering. [optional]
depart_instruction int The written departure time instruction (typically used in a transit maneuver). [optional]
verbal_depart_instruction int Text suitable for use as a verbal departure time instruction (typically used in a transit maneuver). [optional]
arrive_instruction int The written arrival time instruction (typically used in a transit maneuver). [optional]
verbal_arrive_instruction int Text suitable for use as a verbal departure time instruction (typically used in a transit maneuver). [optional]
transit_info Dict[str, object] Public transit info (not currently supported). [optional]
verbal_multi_cue bool True if the `verbal_pre_transition_instruction` has been appended with the verbal instruction of the next maneuver. [optional] [default to False]
travel_mode TravelMode
travel_type str The type of travel over the maneuver. This can be thought of as a specialization of the travel mode. For example, vehicular travel may be via car, motorcycle, etc.; and travel via bicycle may be via a road bike, mountain bike, etc.
bss_maneuver_type str Describes a bike share action when using bikeshare routing. [optional]

Example

from stadiamaps.models.route_maneuver import RouteManeuver

# TODO update the JSON string below
json = "{}"
# create an instance of RouteManeuver from a JSON string
route_maneuver_instance = RouteManeuver.from_json(json)
# print the JSON string representation of the object
print(RouteManeuver.to_json())

# convert the object into a dict
route_maneuver_dict = route_maneuver_instance.to_dict()
# create an instance of RouteManeuver from a dict
route_maneuver_from_dict = RouteManeuver.from_dict(route_maneuver_dict)

[Back to Model list] [Back to API list] [Back to README]