public class LegAnnotation extends Object
Constructor and Description |
---|
LegAnnotation() |
Modifier and Type | Method and Description |
---|---|
double[] |
getDistance()
The distance, in meters, between each pair of coordinates.
|
double[] |
getDuration()
The duration, in seconds, between each pair of coordinates.
|
double[] |
getSpeed()
The speed, in km/h, between each pair of coordinates.
|
public double[] getDistance()
public double[] getDuration()
public double[] getSpeed()
© 2015–2016 Mapbox. All rights reserved.