From a217ccc6a1816dfcffaba06195bd17fe6633a0d3 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <43627182+curbengh@users.noreply.github.com> Date: Fri, 15 Aug 2025 08:45:01 +0000 Subject: [PATCH] fix(graphhopper): "profile" parameter fixes #1399 https://docs.graphhopper.com/openapi/routing/getroute https://docs.graphhopper.com/openapi/map-data-and-routing-profiles/openstreetmap/standard-routing-profiles Signed-off-by: Ming Di Leom <43627182+curbengh@users.noreply.github.com> --- src/components/map/routing/RoutingMachine.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/map/routing/RoutingMachine.vue b/src/components/map/routing/RoutingMachine.vue index b6255a375..792c2911f 100644 --- a/src/components/map/routing/RoutingMachine.vue +++ b/src/components/map/routing/RoutingMachine.vue @@ -250,16 +250,16 @@ export default { const options = {} if (type === 'graphhopperCar') { options.urlParameters = { - // available ones : car, foot, bike, bike2, mtb, racingbike, motorcycle - vehicle: 'car', + // available ones : car, foot, bike, mtb, racingbike + profile: 'car', } } else if (type === 'graphhopperBike') { options.urlParameters = { - vehicle: 'bike', + profile: 'bike', } } else if (type === 'graphhopperFoot') { options.urlParameters = { - vehicle: 'foot', + profile: 'foot', } } if (url) {