From 8a99542233131d6c0e412c2599d556c61bfcdc21 Mon Sep 17 00:00:00 2001 From: Sohaib Iftikhar Date: Thu, 10 Oct 2024 11:25:41 +0200 Subject: [PATCH] Fix costing_options when sending isochrones request --- src/utils/valhalla.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/valhalla.js b/src/utils/valhalla.js index f829496..fdbedac 100644 --- a/src/utils/valhalla.js +++ b/src/utils/valhalla.js @@ -88,7 +88,7 @@ export const buildIsochronesRequest = ({ show_locations: true, costing: valhalla_profile, costing_options: { - [valhalla_profile]: settings, + [valhalla_profile]: { ...settings.costing }, }, contours: makeContours({ maxRange, interval }), locations: makeLocations([center]),