Skip to content

Commit 01310b1

Browse files
committed
Add missing parameter
1 parent 3df5d4e commit 01310b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/osrm/client/Main.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ public static void main(String[] args) throws EmptyUrlException {
2525
// token
2626
String token = "None";
2727

28-
OSRMDistanceResponse response = client.getDistanceMatrix(locations, speedRate, country, token);
28+
String profile = "car";
29+
30+
OSRMDistanceResponse response = client.getDistanceMatrix(locations, speedRate, country, token, profile);
2931

3032
System.out.println(response);
3133
}

0 commit comments

Comments
 (0)