Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add trapezoid and hexagon shapes in HVV #253

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

TheOneWithTheBraid
Copy link
Contributor

  • refactor HVV bus lines to hexagon shape
  • refactor HVV ferry lines to trapezoid shape
  • fix wrong outlined shapes for HVV Xpress bus lines
  • add support for hexagon and trapezoid shapes in sample website

Even though this PR adds support for the sample website, the edge case of a hexagon/trapezoid shape with border is not supported in the minimal CSS version yet since CSS clips are applied after drawing the border of elements. Since as of now I do not know any line using this edge case and there actually has been no renderer for it at all as of now, I'd consider this an acceptable regression.

About the fixed HVV Xpress bus line outline : I guess the original reporter misinterpreted the "runs occasionally" color scheme on the line map as actual line color, the PDF sheets show the correct color in opposite : https://www.hvv.de/resource/blob/73106/fa5e3bc70197d2ca4298012e60772c12/hvv_linienfahrplan_X40.pdf

- refactor HVV bus lines to hexagon shape
- refactor HVV ferry lines to trapezoid shape
- fix wrong outlined shapes for HVV Xpress bus lines
- add support for hexagon and trapezoid shapes in sample website

Signed-off-by: The one with the braid <info@braid.business>
@TheOneWithTheBraid TheOneWithTheBraid marked this pull request as ready for review December 24, 2024 12:18
@marhei marhei merged commit 41be14d into Traewelling:main Dec 24, 2024
2 checks passed
@TheOneWithTheBraid TheOneWithTheBraid deleted the braid/hvv-shapes branch December 24, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants