You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/optimizedtrips/v1/MapboxOptimizedTripsRx.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,9 @@ public Observable<OptimizedTripsResponse> getObservable() {
Copy file name to clipboardExpand all lines: mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/optimizedtrips/v1/OptimizedTripsServiceRx.java
+27-23Lines changed: 27 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -16,26 +16,28 @@
16
16
publicinterfaceOptimizedTripsServiceRx {
17
17
18
18
/**
19
-
* @param userAgent The user.
20
-
* @param user The user.
21
-
* @param profile The profile directions should use.
22
-
* @param coordinates The coordinates used to calculate the trip.
23
-
* @param accessToken Mapbox access token.
24
-
* @param roundTrip Returned route is a roundtrip (route returns to first location). Allowed values are: true
25
-
* (default) or false.
26
-
* @param radiuses Maximum distance in meters that each coordinate is allowed to move when snapped to a nearby
27
-
* road segment. There must be as many radiuses as there are coordinates in the request. Values
28
-
* can be any number greater than 0 or they can be the string unlimited. If no routable road is
29
-
* found within the radius, a NoSegment error is returned.
30
-
* @param bearings Used to filter the road segment the waypoint will be placed on by direction and dictates
31
-
* the angle of approach
32
-
* @param steps Define if you'd like the route steps.
33
-
* @param geometries Route geometry.
34
-
* @param annotations An annotations object that contains additional details about each line segment along the
35
-
* route geometry. Each entry in an annotations field corresponds to a coordinate along the
36
-
* route geometry.
37
-
* @param destination Returned route ends at any or last coordinate. Allowed values are: any (default) or last.
38
-
* @param source Returned route starts at any or first coordinate. Allowed values are: any (default) or first.
19
+
* @param userAgent The user.
20
+
* @param user The user.
21
+
* @param profile The profile directions should use.
22
+
* @param coordinates The coordinates used to calculate the trip.
23
+
* @param accessToken Mapbox access token.
24
+
* @param roundTrip Returned route is a roundtrip (route returns to first location). Allowed values are: true
25
+
* (default) or false.
26
+
* @param radiuses Maximum distance in meters that each coordinate is allowed to move when snapped to a nearby
27
+
* road segment. There must be as many radiuses as there are coordinates in the request. Values
28
+
* can be any number greater than 0 or they can be the string unlimited. If no routable road is
29
+
* found within the radius, a NoSegment error is returned.
30
+
* @param bearings Used to filter the road segment the waypoint will be placed on by direction and dictates
31
+
* the angle of approach
32
+
* @param steps Define if you'd like the route steps.
33
+
* @param geometries Route geometry.
34
+
* @param annotations An annotations object that contains additional details about each line segment along the
35
+
* route geometry. Each entry in an annotations field corresponds to a coordinate along the
36
+
* route geometry.
37
+
* @param destination Returned route ends at any or last coordinate. Allowed values are: any (default) or last.
38
+
* @param source Returned route starts at any or first coordinate. Allowed values are: any (default) or first.
39
+
* @param language Language of returned turn-by-turn text instructions.
40
+
* @param distributions Specify pick-up and drop-off locations
Copy file name to clipboardExpand all lines: mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/models/DirectionsWaypoint.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ public void setName(String name) {
41
41
}
42
42
43
43
/**
44
-
* an array with two double values reresenting the maneuver locations coordinate.
44
+
* an array with two double values representing the maneuver locations coordinate.
45
45
*
46
46
* @return double array of [longitude, latitude] for the snapped coordinate.
Copy file name to clipboardExpand all lines: mapbox/libjava-services/src/main/java/com/mapbox/services/api/mapmatching/v5/models/MapMatchingTracepoint.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ public class MapMatchingTracepoint extends DirectionsWaypoint {
15
15
@SerializedName("waypoint_index")
16
16
privateintwaypointIndex;
17
17
18
+
/**
19
+
* Public constructor
20
+
*/
18
21
publicMapMatchingTracepoint() {
19
22
}
20
23
@@ -28,6 +31,7 @@ public MapMatchingTracepoint(int matchingsIndex, int alternativesCount, int wayp
28
31
* Index to the match object in matchings the sub-trace was matched to.
29
32
*
30
33
* @return index value
34
+
* @since 2.2.0
31
35
*/
32
36
publicintgetMatchingsIndex() {
33
37
returnmatchingsIndex;
@@ -37,6 +41,7 @@ public int getMatchingsIndex() {
37
41
* Index value
38
42
*
39
43
* @param matchingsIndex value
44
+
* @since 2.2.0
40
45
*/
41
46
publicvoidsetMatchingsIndex(intmatchingsIndex) {
42
47
this.matchingsIndex = matchingsIndex;
@@ -46,6 +51,7 @@ public void setMatchingsIndex(int matchingsIndex) {
0 commit comments