换乘路线信息类。
| SuperMap. |
换乘路线信息类。 |
| Properties | |
| direct | {String} 乘车方向。 |
| distance | {Number} 乘车分段距离。 |
| downPosition | {SuperMap.LonLat} 下车站点坐标。 |
| endStopIndex | {Number} 下车站点在本公交路线中的索引。 |
| endStopName | {String} 下车站点名称。 |
| lineID | {Number} 当前线路ID。 |
| lineName | {String} 乘车路线名称。 |
| LineTime | {String} 当前公交(或地铁)的早晚运营时间。 |
| LineType | {SuperMap.Cloud.TrafficTransferLineType} 当前线路类型,BUS-公交/SUBWAY-地铁/WALK-步行。 |
| passStopCount | {Integer} 乘车经过的站点数。 |
| route | {SuperMap.Geometry.LineString} 当前线路的几何对象。 |
| startStopIndex | {Number} 上车站点在本公交路线中的索引。 |
| startStopName | {String} 上车站点名称。 |
| time | {Number} 乘坐当前线路需要的时间。 |
| upPosition | {SuperMap.LonLat} 上车站点坐标。 |
| walkDistance | {Number} 从起始点到公交(地铁)起点的步行距离。 |
| Constructor | |
| SuperMap. |
换乘路线信息类构造函数。 |
| Functions | |
| destroy | 释放资源,将引用资源的属性置空。 |
{SuperMap.LonLat} 上车站点坐标。
{SuperMap.LonLat} 下车站点坐标。
{SuperMap.Cloud.TrafficTransferLineType} 当前线路类型,BUS-公交/SUBWAY-地铁/WALK-步行。
{SuperMap.Geometry.LineString} 当前线路的几何对象。
换乘路线信息类构造函数。
| options | {Object} 参数。 |
| lineName | {String} 乘车路线名称。 |
| startStopIndex | {Number} 上车站点在本公交路线中的索引。 |
| startStopName | {String} 上车站点名称。 |
| upPosition | {SuperMap.LonLat} 上车站点坐标。 |
| endStopIndex | {Number} 下车站点在本公交路线中的索引。 |
| endStopName | {String} 下车站点名称。 |
| downPosition | {SuperMap.LonLat} 下车站点坐标。 |
| passStopCount | {SuperMap.LonLat} 乘车经过的站点数。。 |
| distance | {Number} 乘车分段距离。 |
| lineType | {SuperMap.Cloud.TrafficTransferLineType} 下当前线路类型,BUS-公交/SUBWAY-地铁/WALK-步行。 |
| lineTime | {String} 当前公交(或地铁)的早晚运营时间。 |
| route | {SuperMap.Geometry.LineString} 当前线路的几何对象。 |
| walkDistance | {Number} 从起始点到公交(地铁)起点的步行距离。 |
| time | {Number} 乘坐当前线路需要的时间。 |
| lineID | {Number} 当前线路ID。 |
释放资源,将引用资源的属性置空。
destroy: function()