|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcom.baidu.mapapi.MKRoutePlan
public class MKRoutePlan
此类表示一条驾车或步行出行方案
| 构造方法摘要 | |
|---|---|
MKRoutePlan()
|
|
| 方法摘要 | |
|---|---|
int |
getDistance()
返回方案总距离 |
int |
getNumRoutes()
返回方案包含的线路的个数 |
MKRoute |
getRoute(int index)
返回方案中索引指定的线路 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MKRoutePlan()
| 方法详细信息 |
|---|
public int getNumRoutes()
public MKRoute getRoute(int index)
index - 索引, 0表示第一条线路
public int getDistance()
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||