Skip to content

Commit 8a99542

Browse files
Fix costing_options when sending isochrones request
1 parent b626648 commit 8a99542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/valhalla.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const buildIsochronesRequest = ({
8888
show_locations: true,
8989
costing: valhalla_profile,
9090
costing_options: {
91-
[valhalla_profile]: settings,
91+
[valhalla_profile]: { ...settings.costing },
9292
},
9393
contours: makeContours({ maxRange, interval }),
9494
locations: makeLocations([center]),

0 commit comments

Comments
 (0)