-
Notifications
You must be signed in to change notification settings - Fork 89
Labels
LANE ROUTINGFeature: Lane arrows / connectorsFeature: Lane arrows / connectorsOverlaysOverlays, data vis, etc.Overlays, data vis, etc.UIUser interface updatesUser interface updatesadjustments requiredAn issue require some adjustments in codeAn issue require some adjustments in codeenhancementImprove existing featureImprove existing feature
Description
Description
Players should not be able to set lane arrows that do not point to an outgoing segment.
For example, in issue #361 the player mistakenly used straight lane arrows where the angle between the 4-lane highway and 8-lane road with median requires a right pointing arrow.
Technical Info
- Lane arrow logic is one of the features that is still handled by the legacy
Flagsclass. We could use this opportunity to move the code toLaneArrowManager. LaneArrowManager:- Implement logic to check which kind of lane arrows may be set for a given segment end
- Implement logic to correct invalid lane arrows
- Make
ToggleLaneArrows()callSetLaneArrows() SetLaneArrows(): Check if the intended lane arrow is validHandleValidSegment(): (gets called when a segment is updated) Make sure that old lane arrows are valid. If not, call correction code.
LaneArrowTool: Disable/Remove invalid lane arrow toggle buttons
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
LANE ROUTINGFeature: Lane arrows / connectorsFeature: Lane arrows / connectorsOverlaysOverlays, data vis, etc.Overlays, data vis, etc.UIUser interface updatesUser interface updatesadjustments requiredAn issue require some adjustments in codeAn issue require some adjustments in codeenhancementImprove existing featureImprove existing feature