描述一个骑行路段

interface BikingStep {
    distance: number;
    duration: number;
    name: string;
    wayPoints?: LatLng[];
    direction?: number;
    entrance?: RouteNode;
    exit?: RouteNode;
    pathString?: string;
    entranceInstructions?: string;
    exitInstructions?: string;
    instructions?: string;
    turnType?: string;
    restrictionsInfo?: string;
    restrictionsStatus?: number;
}

Hierarchy (view full)

Properties

distance: number

路段距离

duration: number

路段耗时

name: string

路段道路名称

wayPoints?: LatLng[]

路段所经过的地理坐标集合

direction?: number

当前道路的方向角

entrance?: RouteNode

路线起点

exit?: RouteNode

路线终点

pathString?: string

路段位置坐标描述

entranceInstructions?: string

路段起点信息描述

exitInstructions?: string

路段终点信息描述

instructions?: string

路段描述

turnType?: string

行驶转向方向(如"直行", "左前方转弯")

restrictionsInfo?: string

限行信息

restrictionsStatus?: number

限行类型,1:禁行;2:逆行