Skip to content

Commit

Permalink
Merge pull request #222 from sohaibiftikhar/sohaib/fix/isochrone-cost…
Browse files Browse the repository at this point in the history
…ing-options

Fix costing_options when sending isochrones request
  • Loading branch information
chrstnbwnkl authored Oct 10, 2024
2 parents b626648 + 8a99542 commit 5738825
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 5738825

Please sign in to comment.