Skip to content

Commit

Permalink
added running to sql
Browse files Browse the repository at this point in the history
  • Loading branch information
zdila committed Dec 9, 2023
1 parent 0e9ae47 commit 9a13edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion style/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function getRoutesQuery(
WHEN osm_routes.type IN (${leftsIn}) THEN
CASE
WHEN ${!!horseTrails} AND osm_routes.type = 'horse' THEN 40
WHEN ${!!hikingTrails} AND osm_routes.type IN ('hiking', 'foot') THEN (CASE WHEN network IN ('iwn', 'nwn', 'rwn') THEN 0 ELSE 10 END)
WHEN ${!!hikingTrails} AND osm_routes.type IN ('hiking', 'foot', 'running') THEN (CASE WHEN network IN ('iwn', 'nwn', 'rwn') THEN 0 ELSE 10 END)
ELSE 1000
END +
${colorSql}
Expand Down

0 comments on commit 9a13edd

Please sign in to comment.