public static final class DrivingResultObject.Route
extends JsonComposer
Modifier and Type | Field and Description |
---|---|
java.lang.String |
direction
Deprecated.
废弃
|
float |
distance
路径的距离,单位为米
|
float |
duration
预计所需要的时间
|
java.lang.String |
mode
路径的类型,这里只有DRIVING
|
java.util.List<LatLng> |
polyline
路线坐标点串
|
DrivingResultObject.Restriction |
restriction
限行信息
|
java.util.List<RoutePlanningObject.Step> |
steps
路线分解后的详细步骤
|
java.util.List<java.lang.String> |
tags
路线策略
仅当设置需要返回多条路线时返回,且为非必有值
|
DrivingResultObject.TaxiFare |
taxi_fare
预估打车费
|
java.util.List<DrivingResultObject.WayPoint> |
waypoints
设置的途经点
|
Constructor and Description |
---|
Route() |
public java.lang.String mode
public float distance
public float duration
public java.lang.String direction
public DrivingResultObject.Restriction restriction
public java.util.List<LatLng> polyline
public java.util.List<RoutePlanningObject.Step> steps
public java.util.List<DrivingResultObject.WayPoint> waypoints
public java.util.List<java.lang.String> tags
public DrivingResultObject.TaxiFare taxi_fare