Skip to content

Commit 5a097d8

Browse files
authored
Merge pull request #490 from mapbox/1ec5-traffic-waypoint-limit
Clarify waypoint limit
2 parents a983cf4 + fa4df55 commit 5a097d8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,8 @@ public String getProfile() {
391391
* <p>
392392
* - Each coordinate is a pair of a longitude double and latitude double, which are separated by a ,
393393
* - Coordinates are separated by a ; from each other
394-
* - A query must at minimum have 2 coordinates and may at maximum have 25 coordinates
394+
* - A query must have at least 2 coordinates and at most 25 coordinates (at most 3 when the profile is
395+
* {@link com.mapbox.services.api.directions.v5.DirectionsCriteria#PROFILE_DRIVING_TRAFFIC})
395396
*
396397
* @return String containing coordinates formatted.
397398
* @since 1.0.0

0 commit comments

Comments
 (0)