Skip to content

Commit 70fb1ec

Browse files
committed
navigate GET: PASS_THROUGH should be true
1 parent 1749406 commit 70fb1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ private GHResponse calcRouteForGET(List<Double> headings, List<GHPoint> requestP
237237

238238
if (requestPoints.size() > 2 || !headings.isEmpty()) {
239239
request.putHint(Parameters.CH.DISABLE, true).
240-
putHint(Parameters.Routing.PASS_THROUGH, false);
240+
putHint(Parameters.Routing.PASS_THROUGH, true);
241241
}
242242

243243
return graphHopper.route(request);

0 commit comments

Comments
 (0)