Skip to content

Commit

Permalink
Correct case statement
Browse files Browse the repository at this point in the history
  • Loading branch information
graue committed Jan 2, 2025
1 parent cd8bb88 commit 7bdb409
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/BikeHopperMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -983,10 +983,9 @@ function getHillStyle(
layout: {
'icon-image': [
'case',
['get', 'steepness'],
STEP_ANNOTATIONS.verySteepHillUp,
['==', ['get', 'steepness'], STEP_ANNOTATIONS.verySteepHillUp],
'upslope',
STEP_ANNOTATIONS.steepHillUp,
['==', ['get', 'steepness'], STEP_ANNOTATIONS.steepHillUp],
'upslope',
'downslope',
],
Expand Down

0 comments on commit 7bdb409

Please sign in to comment.