java.lang.Object | |
↳ | com.tencent.map.lssupport.protocol.RouteManager |
路线管理器, 非线程安全
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | RouteManager.Editor | 路线编辑器 |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RouteManager(TLSAccount account) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
创建指定路线的编辑器
routeId | 指定路线ID |
---|
NullPointerException | 指定路线无效或为null |
---|
获取剩余距离。
获取剩余时间。
通过订单ID查找路线实体
orderId | 订单ID |
---|
获取路线id。
通过订单ID查找多条路线实体
orderId | 订单ID |
---|
指定ID删除路线
routeId | 路线ID |
---|
重置当前路线数据
截取子路线
origin | 原路线 |
---|---|
startIndex | 起点位置 |
length | 长度 |
截取子路线
origin | 原路线 |
---|---|
startIndex | 起点位置 |
endIndex | 终点位置 |
使用指定索引的路线数据
index | 指定路线索引 |
---|
使用指定ID的路线数据
id | 指定路线ID |
---|
使用指定索引的路线数据
index | 指定路线索引 |
---|