FIXUP: Only show "bike", if not vehicle lane with bike usage
This commit is contained in:
parent
a2ba0ade3d
commit
c29eb92388
1 changed files with 4 additions and 4 deletions
|
|
@ -355,11 +355,11 @@ where
|
||||||
.into_styled(style)
|
.into_styled(style)
|
||||||
.draw(&mut self.target)?;
|
.draw(&mut self.target)?;
|
||||||
|
|
||||||
// draw lane type
|
// mark bike lanes which are not a vehicle lane, too
|
||||||
let lane_type_symbol = if sig.usages.contains(&applogic::v2x::map::UsageType::Bike) {
|
let lane_type_symbol = if sig.usages.contains(&applogic::v2x::map::UsageType::Vehicle) {
|
||||||
"B" // TODO: rather do a bike symbol?
|
|
||||||
} else if sig.usages.contains(&applogic::v2x::map::UsageType::Vehicle) {
|
|
||||||
" "
|
" "
|
||||||
|
} else if sig.usages.contains(&applogic::v2x::map::UsageType::Bike) {
|
||||||
|
"B" // TODO: rather do a bike symbol?
|
||||||
} else {
|
} else {
|
||||||
"?"
|
"?"
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue