Skip to content

Commit

Permalink
Merge pull request #219 from gis-ops/cb-use-truck-route
Browse files Browse the repository at this point in the history
`use_truck_route` parameter
  • Loading branch information
chrstnbwnkl authored Aug 1, 2024
2 parents 5d33270 + d027c0d commit cdddf2a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Controls/settings-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,19 @@ const useTrails = {
step: 0.1,
},
}

const useTruckRoutes = {
name: 'Use Truck Routes',
param: 'use_truck_route',
unit: 'willingness',
description: `A riders's desire for adventure in their routes. This is a range of values from 0 to 1, where 0 will avoid trails, tracks, unclassified or bad surfaces and values towards 1 will tend to avoid major roads and route on secondary roads. The default value is 0.0.`,
settings: {
min: 0,
max: 1,
step: 0.1,
},
}

export const denoise = {
name: 'Denoise',
description:
Expand Down Expand Up @@ -785,6 +798,7 @@ export const profile_settings = {
serviceFactor,
countryCrossingCost,
countryCrossingPenality,
useTruckRoutes,
],
boolean: [hazardousMaterials, shortest, ignoreHierarchies],
enum: [],
Expand Down

0 comments on commit cdddf2a

Please sign in to comment.