Document Maps JavaScript API Reference Manual Routes DriveStepBasic

DriveStepBasic

DriveStep object (basic information)(TypeObject

Attribute

Type

Description

start_location

LngLat

Starting point of this segment

end_location

LngLat

End point of this segment

instruction

string

Description of this segment, such as 'Drive 565 meters along Beijing South Station Road and turn right'

action

string

Action after completing this driving segment

assist_action

string

Auxiliary action after completing the driving sub-section, usually returning upon reaching a destination

orientation

string

Driving direction

road

string

Driving direction

distance

number

Driving direction

tolls

number

This section is tolled, unit: yuan

tolls_distance

number

Length of the toll road segment, in meters

toll_road

string

Main toll road

time

number

Estimated travel time for this road segment, in seconds

path

Array<LngLat>

Collection of coordinates for this road segment