Skip to content

Commit b300f37

Browse files
authored
MapMatching: added ignore param (#1424)
* MapMatching: added ignore param
1 parent d0862d9 commit b300f37

4 files changed

Lines changed: 138 additions & 0 deletions

File tree

services-matching/src/main/java/com/mapbox/api/matching/v5/MapMatchingService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public interface MapMatchingService {
6262
* @param waypointIndices which input coordinates should be treated as waypoints/separate legs.
6363
* Note: coordinate indices not added here act as silent waypoints
6464
* @param waypointNames custom names for waypoints used for the arrival instruction.
65+
* @param ignore ignore certain routing restrictions when map matching.
6566
* @param approaches which side of the road to approach a waypoint.
6667
* @return the MapMatchingResponse in a Call wrapper
6768
* @since 2.0.0
@@ -87,6 +88,7 @@ Call<MapMatchingResponse> getCall(
8788
@Query("voice_units") String voiceUnits,
8889
@Query("waypoints") String waypointIndices,
8990
@Query("waypoint_names") String waypointNames,
91+
@Query("ignore") String ignore,
9092
@Query("approaches") String approaches);
9193

9294

@@ -134,6 +136,7 @@ Call<MapMatchingResponse> getCall(
134136
* @param waypointIndices which input coordinates should be treated as waypoints/separate legs.
135137
* Note: coordinate indices not added here act as silent waypoints
136138
* @param waypointNames custom names for waypoints used for the arrival instruction.
139+
* @param ignore ignore certain routing restrictions when map matching.
137140
* @param approaches which side of the road to approach a waypoint.
138141
* @return the MapMatchingResponse in a Call wrapper
139142
* @since 4.4.0
@@ -160,5 +163,6 @@ Call<MapMatchingResponse> postCall(
160163
@Field("voice_units") String voiceUnits,
161164
@Field("waypoints") String waypointIndices,
162165
@Field("waypoint_names") String waypointNames,
166+
@Field("ignore") String ignore,
163167
@Field("approaches") String approaches);
164168
}

0 commit comments

Comments
 (0)