We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7237ea0 commit 40f5689Copy full SHA for 40f5689
1 file changed
core/src/main/java/com/graphhopper/routing/Router.java
@@ -405,8 +405,7 @@ private static boolean getForceCurbsides(PMap hints) {
405
406
// ORS GH-MOD START
407
private static long getTime(PMap hints) {
408
- Instant time = hints.has("departure") ? hints.getObject("departure", null) : hints.getObject("arrival", null);
409
- return (time == null) ? -1 : time.toEpochMilli();
+ return hints.getLong("time", -1);
410
}
411
412
// way to inject additional edgeFilters to router
0 commit comments