| 程序包 | 说明 |
|---|---|
| com.amap.api.services.route |
路径查询包,包含了在公交、自驾或步行路线规划中的详细信息。
|
| 限定符和类型 | 方法和说明 |
|---|---|
DistanceSearch.DistanceQuery |
DistanceResult.getDistanceQuery()
触发该次距离测量的请求参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
DistanceResult |
DistanceSearch.calculateRouteDistance(DistanceSearch.DistanceQuery query)
测量距离请求接口,调用后会发起距离测量请求。
|
void |
DistanceSearch.calculateRouteDistanceAsyn(DistanceSearch.DistanceQuery query)
测量距离请求接口,调用后会发起距离测量请求。
|