Class DistanceMatrixElement

java.lang.Object
ai.nextbillion.maps.model.DistanceMatrixElement
All Implemented Interfaces:
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.

See Also:
Serialized Form