Skip to content

Commit

Permalink
reorder selection options for cycleways (#6021)
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Nov 25, 2024
1 parent d9257bd commit f9491db
Showing 1 changed file with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,10 @@ fun getSelectableCycleways(
): List<CyclewayAndDirection> {
val dir = direction?.takeUnless { it == BOTH } ?: Direction.getDefault(isRightSide, isLeftHandTraffic)
val cycleways = mutableListOf(
NONE,
TRACK,
EXCLUSIVE_LANE,
ADVISORY_LANE,
UNSPECIFIED_LANE,
SUGGESTION_LANE,
SEPARATE,
PICTOGRAMS,
BUSWAY,
SIDEWALK_EXPLICIT,
SIDEWALK_OK,
SHOULDER
NONE, SEPARATE,
EXCLUSIVE_LANE, ADVISORY_LANE, UNSPECIFIED_LANE, SUGGESTION_LANE,
TRACK, SIDEWALK_EXPLICIT, SIDEWALK_OK,
PICTOGRAMS, BUSWAY, SHOULDER
)
val dualCycleways = listOf(
CyclewayAndDirection(if (countryInfo.hasAdvisoryCycleLane) EXCLUSIVE_LANE else UNSPECIFIED_LANE, BOTH),
Expand Down

0 comments on commit f9491db

Please sign in to comment.