表示驾车路线

interface DrivingRouteLine {
    starting: null | RouteNode;
    terminal: null | RouteNode;
    title: string;
    steps: DrivingStep[];
    distance: number;
    duration: number;
    isSupportTraffic: boolean;
    wayPoints: RouteNode[];
    congestionDistance: number;
    lightNum: number;
    toll: number;
}

Hierarchy

Properties

starting: null | RouteNode
terminal: null | RouteNode
title: string
steps: DrivingStep[]
distance: number
duration: number
isSupportTraffic: boolean

该路线所在区域是否含有交通流量信息

wayPoints: RouteNode[]

路线途经点

congestionDistance: number

拥堵米数

lightNum: number

红绿灯个数

toll: number

路线收费数