Skip to content

Commit

Permalink
Fix costing_options when sending isochrones request
Browse files Browse the repository at this point in the history
  • Loading branch information
sohaibiftikhar committed Oct 10, 2024
1 parent b626648 commit 8a99542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/valhalla.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit 8a99542

Please sign in to comment.