公交路线规划结果封装

interface TransitRouteResult {
    error?: ERRORNO;
    status?: number;
    taxiInfo?: TaxiInfo;
    routeLines?: TransitRouteLine[];
    suggestAddrInfo?: SuggestAddrInfo;
}

Hierarchy (view full)

Properties

error?: ERRORNO

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

status?: number
taxiInfo?: TaxiInfo

打车信息

routeLines?: TransitRouteLine[]

所有换乘路线方案

suggestAddrInfo?: SuggestAddrInfo

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