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

forward and backward coloring for custom overlay #684

Open
tiptoptom opened this issue Oct 20, 2024 · 2 comments
Open

forward and backward coloring for custom overlay #684

tiptoptom opened this issue Oct 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@tiptoptom
Copy link

Use case
Coloring the left and right side of a street instead of it's center when the key contains :forward or :backward
E.g. for a custom maxspeed overlay

Why
Coloring custom overlay based on tags is nice, but creates too many colors when forward and backward is included in the keys.

Proposed Solution
When coloring key matches a key containing :forward or :backward, colors the left, right or both side(s) of the street instead (like the bicycle or sidewalk quest)

For my understanding, the solution should be almost identical to #403

@tiptoptom
Copy link
Author

Unfortunately it is not that easy because it depends on whether there is left or right traffic.

@Helium314 Helium314 added the enhancement New feature or request label Dec 24, 2024
@Helium314
Copy link
Owner

Simply coloring the sides like done for left/right should be relatively simple. Actually coloring left/right half of the road is considerably more effort as there is nothing like that in SC.

Unfortunately it is not that easy because it depends on whether there is left or right traffic.

That's not a problem, SC already has some functionality to check for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants