Interface MassTransitRouteResult

跨城公交线路规划结果

interface MassTransitRouteResult {
    error?: ERRORNO;
    status?: number;
    origin?: TransitResultNode;
    destination?: TransitResultNode;
    massTaxiInfo?: TaxiInfo;
    total?: number;
    routeLines?: MassTransitRouteLine[];
    suggestAddrInfo?: SuggestAddrInfo;
}

Hierarchy (view full)

Properties

error?: ERRORNO

检索结果错误码, 各错误值见ERRORNO

status?: number

起点

destination?: TransitResultNode

终点

massTaxiInfo?: TaxiInfo

打车信息

total?: number

所有路线总数

routeLines?: MassTransitRouteLine[]

获取所有换乘路线方案

suggestAddrInfo?: SuggestAddrInfo

当#error 为 ERRORNO#AMBIGUOUS_ROURE_ADDR 时 可通过此接口获取建议信息