Skip to content

feat(transit-vehicle-overlay): Add optional per-vehicle color#458

Open
mcleinman wants to merge 1 commit into
opentripplanner:masterfrom
mcleinman:vehicle_specific_color
Open

feat(transit-vehicle-overlay): Add optional per-vehicle color#458
mcleinman wants to merge 1 commit into
opentripplanner:masterfrom
mcleinman:vehicle_specific_color

Conversation

@mcleinman
Copy link
Copy Markdown

Allow optional per-vehicle colors in transit-vehicle-overlay. This is not a breaking change; it will continue to default to the color provided to the entire object if a vehicle does not have a valid color. I also updated one of the stories to show this new functionality.

This is similar to #442. We're likely going to update to a non-raster-tiles version, so we need this functionality in the main branch as well.

@binh-dam-ibigroup
Copy link
Copy Markdown
Collaborator

Allow optional per-vehicle colors in transit-vehicle-overlay.

Hi @mcleinman, thanks for this PR. By curiosity, could you provide a clarification of what the highlight color on one vehicle, but not others on the same transit route, is intended to mean? Thank you!

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