Skip to content

Commit a217ccc

Browse files
committed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/map/routing/RoutingMachine.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,16 +250,16 @@ export default {
250250
const options = {}
251251
if (type === 'graphhopperCar') {
252252
options.urlParameters = {
253-
// available ones : car, foot, bike, bike2, mtb, racingbike, motorcycle
254-
vehicle: 'car',
253+
// available ones : car, foot, bike, mtb, racingbike
254+
profile: 'car',
255255
}
256256
} else if (type === 'graphhopperBike') {
257257
options.urlParameters = {
258-
vehicle: 'bike',
258+
profile: 'bike',
259259
}
260260
} else if (type === 'graphhopperFoot') {
261261
options.urlParameters = {
262-
vehicle: 'foot',
262+
profile: 'foot',
263263
}
264264
}
265265
if (url) {

0 commit comments

Comments
 (0)