基础路段信息

interface BaseSegment {
    type: SegmentType;
    distance: number;
    distanceText: string;
    path?: NormalizedLocation[];
}

Hierarchy (view full)

Properties

路段类型

distance: number

距离(米)

distanceText: string

距离文本

路径坐标点(可选)