类 DistanceMatrixElement
java.lang.Object
ai.nextbillion.maps.model.DistanceMatrixElement
- 所有已实现的接口:
java.io.Serializable
public class DistanceMatrixElement
extends java.lang.Object
implements java.io.Serializable
A single result corresponding to an origin/destination pair in a Distance Matrix response.
Be sure to check the status for each element, as a matrix response can have a mix of successful and failed elements depending on the connectivity of the origin and destination.
- 另请参阅:
- 序列化表格
-
字段概要
字段 修饰符和类型 字段 说明 Distancedistancedistanceindicates the total distance covered by this leg.DurationdurationThe total duration of this leg.Distancepredicted_durationDistanceraw_distance -
构造器概要
构造器 构造器 说明 DistanceMatrixElement() -
方法概要
-
字段详细资料
-
duration
The total duration of this leg. -
distance
distanceindicates the total distance covered by this leg. -
predicted_duration
-
raw_distance
-
-
构造器详细资料
-
DistanceMatrixElement
public DistanceMatrixElement()
-