-
Notifications
You must be signed in to change notification settings - Fork 52
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
trips API text color #664
Comments
I agree, this can be added. Feel free to open a PR if you need it urgently. |
The change appears to be easy at first glance, but Motis doesn't use one of the languages I'm familiar with, so I shouldn't do this, sorry. |
Isn't this what |
Could be added here also: Lines 1141 to 1142 in d773eac
(for the trips displayed on the map, e.g. if you want to write the name on the map) |
Code could be here Line 377 in 42de676
probably something like |
Yes, this would be the code change. Additionally the openapi.yml spec needs to be adjusted. |
I'm playing around with the Motis 2 trips openapi.
Sometimes, it returns a routeColor, which is nice to give markers a color as demonstrated on https://europe.motis-project.de.
I'd like to propose to also return a textColor property, which should be available whenever a routeColor is available.
In the default Motis2 UI, the missing text color isn't obvious, as the rendered vehicle markers contain no textual clue about the route or mode.
As a user, I don't like to play memory on maps.
The text was updated successfully, but these errors were encountered: