Skip to content

Commit eb03d48

Browse files
authored
Corrected LegAnnotation.speed documentation
The speed is measured in meters per second, not kilometers per hour.
1 parent 6115526 commit eb03d48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/models

mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/models/LegAnnotation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public double[] getDuration() {
3636
}
3737

3838
/**
39-
* The speed, in km/h, between each pair of coordinates.
39+
* The speed, in meters per second, between each pair of coordinates.
4040
*
4141
* @return a double array with each entry being a speed value between two of the routeLeg geometry coordinates.
4242
* @since 2.1.0

0 commit comments

Comments
 (0)