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

add support for not so complex shapes (hexagon/trapezoid) #154

Open
ghost opened this issue May 25, 2024 · 3 comments
Open

add support for not so complex shapes (hexagon/trapezoid) #154

ghost opened this issue May 25, 2024 · 3 comments

Comments

@ghost
Copy link

ghost commented May 25, 2024

just as an idea for hexagons and trapezoids:
would it be possible to support them in the near future?

we really don't need to re-invent the wheel.
i think two triangles and a rectangle might be the way to go with the existing codebase, right?

image

those triangles at each end would just need to be the same colour as the rectangle.

                .triangle-left {
                    border-width: 50px 25px 50px 0;
                    border-color: transparent #ff0000 transparent transparent;
                }

code for the already existing rectangle

                .triangle-right {
                    border-width: 50px 0 50px 25px;
                    border-color: transparent transparent transparent #ff0000;
                }

same thing with trapezoids, which are just hexagons but in not-so-cool

image

@verbuchselt
Copy link
Contributor

I'm all for it.. just out of curiousity: Where do the trapezoids occur "naturally"? 😅

@ghost
Copy link
Author

ghost commented May 27, 2024

I'm all for it.. just out of curiousity: Where do the trapezoids occur "naturally"? 😅

afaik: only hamburg's ferries use it.

image

sauce

@CHirch
Copy link

CHirch commented Dec 8, 2024

Good evening, any updates on this? There is an example for HVV busses and ferries on the startpage of this project but there are zero hexagons in the database. Is the feature implemented or will it be implemented at some point?

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

No branches or pull requests

2 participants