Document Maps JavaScript API Reference Manual Routes DriveStepDetail

DriveStepDetail

DriveStep Object (Details)(Type: Object

Attribute Description

cities (Array<ViaCity>): Route City List

Attribute

Type

Description

city

ViaCity

Route City List Element

name

string

Route Name

citycode

string

City Code

adcode

string

Region Code

districts

Array<District>

Administrative Division List

district

District

Administrative Division List Element

name

string

Region Name

adcode

string

Region code

tmcs (Array<TMC>): Real-time traffic information list

Attribute

Type

Description

tmc

TMC

Real-time traffic information list element

lcode

string

The code corresponding to the road condition information. If the direction is positive, the lcode return value is greater than 0; otherwise, the lcode return value is less than 0; if it returns 0, it means there is no lcode for this road segment

distance

number

The length of the road segment corresponding to this lcode, unit: meters

status

string

Traffic status, possible values are: unknown, smooth, slow, congested