From d006c7587251139f3be853b4dbb068361599c843 Mon Sep 17 00:00:00 2001 From: NekoVari Date: Wed, 29 Nov 2023 18:53:26 +0700 Subject: [PATCH] fix api to wheelchair --- src/components/DestinationInfoCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DestinationInfoCard.vue b/src/components/DestinationInfoCard.vue index b63e760..6489999 100644 --- a/src/components/DestinationInfoCard.vue +++ b/src/components/DestinationInfoCard.vue @@ -336,7 +336,7 @@ export default { const startCoord = '100.53860,13.76410'; //(lon,lat) test data const endCoord = '100.53928,13.76526';//(lon,lat) test data - axios.get(`https://api.openrouteservice.org/v2/directions/driving-car?api_key=${apiKey}&start=${startCoord}&end=${endCoord}`) + axios.get(`https://api.openrouteservice.org/v2/directions/wheelchair?api_key=${apiKey}&start=${startCoord}&end=${endCoord}`) .then(response => { const route = response.data.features[0].geometry.coordinates; console.log('This is route :',route)